summaryrefslogtreecommitdiffstats
path: root/Doc/library/linecache.rst
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-03-18 13:19:19 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2015-03-18 13:19:19 (GMT)
commit072248ec637a123dc348e6c1ffe075f85785111a (patch)
treec61c7d4559fe904b8bf0e4ebc28ef1a808c82598 /Doc/library/linecache.rst
parent58b8f3923eb44ba250d3582f5a0e8a8209edcdda (diff)
parent376658fa13f5c56a89a47ced0c5a88c43ce508b7 (diff)
downloadcpython-072248ec637a123dc348e6c1ffe075f85785111a.zip
cpython-072248ec637a123dc348e6c1ffe075f85785111a.tar.gz
cpython-072248ec637a123dc348e6c1ffe075f85785111a.tar.bz2
Merge 3.4 (linecache doc)
Diffstat (limited to 'Doc/library/linecache.rst')
-rw-r--r--Doc/library/linecache.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/linecache.rst b/Doc/library/linecache.rst
index 52e3339..2d2a33f 100644
--- a/Doc/library/linecache.rst
+++ b/Doc/library/linecache.rst
@@ -59,5 +59,5 @@ The :mod:`linecache` module defines the following functions:
Example::
>>> import linecache
- >>> linecache.getline('/etc/passwd', 4)
- 'sys:x:3:3:sys:/dev:/bin/sh\n'
+ >>> linecache.getline(linecache.__file__, 8)
+ 'import sys\n'