diff options
Diffstat (limited to 'Doc/library/linecache.rst')
-rw-r--r-- | Doc/library/linecache.rst | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Doc/library/linecache.rst b/Doc/library/linecache.rst index d8a9ff3..ee965fe 100644 --- a/Doc/library/linecache.rst +++ b/Doc/library/linecache.rst @@ -5,17 +5,13 @@ :synopsis: This module provides random access to individual lines from text files. .. sectionauthor:: Moshe Zadka <moshez@zadka.site.co.il> +**Source code:** :source:`Lib/linecache.py` The :mod:`linecache` module allows one to get any line from any file, while attempting to optimize internally, using a cache, the common case where many lines are read from a single file. This is used by the :mod:`traceback` module to retrieve source lines for inclusion in the formatted traceback. -.. seealso:: - - Latest version of the :source:`linecache module Python source code - <Lib/linecache.py>` - The :mod:`linecache` module defines the following functions: |