]> granicus.if.org Git - python/commit
Issue #11726: Fix linecache example in the doc
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 18 Mar 2015 13:16:50 +0000 (14:16 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 18 Mar 2015 13:16:50 +0000 (14:16 +0100)
commit376658fa13f5c56a89a47ced0c5a88c43ce508b7
treecb6cee25097e95d512e66a35ccb2ba9f082c5fc5
parent93f0665fb612f08f3a4e6dc5d9d5350ddad6b653
Issue #11726: Fix linecache example in the doc

Use a Python source file (linecache.__file__) instead of /etc/passwd.

Modify also linecache docstrings to clarify the linecache is written to cache
Python source files, not any text files.
Doc/library/linecache.rst
Lib/linecache.py