diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-03-18 13:19:19 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-03-18 13:19:19 (GMT) |
commit | 072248ec637a123dc348e6c1ffe075f85785111a (patch) | |
tree | c61c7d4559fe904b8bf0e4ebc28ef1a808c82598 /Lib/linecache.py | |
parent | 58b8f3923eb44ba250d3582f5a0e8a8209edcdda (diff) | |
parent | 376658fa13f5c56a89a47ced0c5a88c43ce508b7 (diff) | |
download | cpython-072248ec637a123dc348e6c1ffe075f85785111a.zip cpython-072248ec637a123dc348e6c1ffe075f85785111a.tar.gz cpython-072248ec637a123dc348e6c1ffe075f85785111a.tar.bz2 |
Merge 3.4 (linecache doc)
Diffstat (limited to 'Lib/linecache.py')
-rw-r--r-- | Lib/linecache.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/linecache.py b/Lib/linecache.py index 33b0af7..6e65c37 100644 --- a/Lib/linecache.py +++ b/Lib/linecache.py @@ -1,4 +1,4 @@ -"""Cache lines from files. +"""Cache lines from Python source files. This is intended to read lines from modules imported -- hence if a filename is not found, it will look down the module search path for a file by @@ -35,7 +35,7 @@ def clearcache(): def getlines(filename, module_globals=None): - """Get the lines for a file from the cache. + """Get the lines for a Python source file from the cache. Update the cache if it doesn't contain an entry for this file already.""" if filename in cache: |