diff options
Diffstat (limited to 'Doc/library/linecache.rst')
-rw-r--r-- | Doc/library/linecache.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/linecache.rst b/Doc/library/linecache.rst index 0c096ad..e9ec801 100644 --- a/Doc/library/linecache.rst +++ b/Doc/library/linecache.rst @@ -51,5 +51,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' |