Skip to content

Commit 64a855e

Browse files
authored
Update linecache.rst
1 parent 51ab66b commit 64a855e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/library/linecache.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
The :mod:`linecache` module allows one to get any line from a Python source file, while
1414
attempting to optimize internally, using a cache, the common case where many
1515
lines are read from a single file. This is used by the :mod:`traceback` module
16-
to retrieve source lines for inclusion in the formatted traceback.
16+
to retrieve source lines for inclusion in the formatted traceback.
1717

1818
The :func:`tokenize.open` function is used to open files. This
1919
function uses :func:`tokenize.detect_encoding` to get the encoding of the
@@ -55,7 +55,7 @@ The :mod:`linecache` module defines the following functions:
5555

5656
.. function:: checkcache(filename=None)
5757

58-
Check the cache for validity. Use this function if files in the cache may have
58+
Check the cache for validity. Use this function if files in the cache may have
5959
changed on disk, and you require the updated version. If *filename* is omitted,
6060
it will check all the entries in the cache.
6161

0 commit comments

Comments
 (0)