File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313The :mod: `linecache ` module allows one to get any line from a Python source file, while
1414attempting to optimize internally, using a cache, the common case where many
1515lines 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
1818The :func: `tokenize.open ` function is used to open files. This
1919function 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
You can’t perform that action at this time.
0 commit comments