summaryrefslogtreecommitdiffstats
path: root/Doc/library/linecache.rst
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2011-01-10 03:26:08 (GMT)
committerRaymond Hettinger <python@rcn.com>2011-01-10 03:26:08 (GMT)
commit10480940373492652bc285fca3fa74751c271645 (patch)
treebb1bfed3416120cc371eb884960cf73aad9a957e /Doc/library/linecache.rst
parenta4815caa7ccf21aa994d0e0eec66873072f0e352 (diff)
downloadcpython-10480940373492652bc285fca3fa74751c271645.zip
cpython-10480940373492652bc285fca3fa74751c271645.tar.gz
cpython-10480940373492652bc285fca3fa74751c271645.tar.bz2
Move source links to consistent location and remove wordy, big yellow boxes.
Diffstat (limited to 'Doc/library/linecache.rst')
-rw-r--r--Doc/library/linecache.rst6
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: