summaryrefslogtreecommitdiffstats
path: root/Doc/library/linecache.rst
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2010-11-16 19:13:50 (GMT)
committerÉric Araujo <merwok@netwok.org>2010-11-16 19:13:50 (GMT)
commit6e6cb8e0e491477614bae33c29f6e00d0d48c20b (patch)
tree0cb13cc6d94af48c5a4b78b360c75fcf6f93d406 /Doc/library/linecache.rst
parentdbe7519da9d0a99d68aaa773cde2793900dad44f (diff)
downloadcpython-6e6cb8e0e491477614bae33c29f6e00d0d48c20b.zip
cpython-6e6cb8e0e491477614bae33c29f6e00d0d48c20b.tar.gz
cpython-6e6cb8e0e491477614bae33c29f6e00d0d48c20b.tar.bz2
Provide links to Python source where the code is short, readable and
informative adjunct to the docs. Forward-port of Raymond's r86225 and r86245 using the new source reST role added in #10334.
Diffstat (limited to 'Doc/library/linecache.rst')
-rw-r--r--Doc/library/linecache.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/library/linecache.rst b/Doc/library/linecache.rst
index 688e297..d8a9ff3 100644
--- a/Doc/library/linecache.rst
+++ b/Doc/library/linecache.rst
@@ -11,6 +11,11 @@ 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: