diff --git a/Doc/library/linecache.rst b/Doc/library/linecache.rst index 0a5373ec976371..fb55f3ffe130f4 100644 --- a/Doc/library/linecache.rst +++ b/Doc/library/linecache.rst @@ -71,5 +71,5 @@ The :mod:`!linecache` module defines the following functions: Example:: >>> import linecache - >>> linecache.getline(linecache.__file__, 8) - 'import sys\n' + >>> linecache.getline(linecache.__file__, 1) + '"""Cache lines from Python source files.\n'