diff options
| author | Tim Peters <tim.peters@gmail.com> | 2006-04-11 01:44:26 (GMT) |
|---|---|---|
| committer | Tim Peters <tim.peters@gmail.com> | 2006-04-11 01:44:26 (GMT) |
| commit | 413c9226d27a09526b0edbe58317426ea1df83a3 (patch) | |
| tree | f056dfbf91088a815789fa8d66721d8672446805 /Lib/linecache.py | |
| parent | 3a5e8b1e365b1b47c61ef2b3d2f45f56fd4f2711 (diff) | |
| download | cpython-413c9226d27a09526b0edbe58317426ea1df83a3.zip cpython-413c9226d27a09526b0edbe58317426ea1df83a3.tar.gz cpython-413c9226d27a09526b0edbe58317426ea1df83a3.tar.bz2 | |
Whitespace normalization.
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 696e189..8da1b02 100644 --- a/Lib/linecache.py +++ b/Lib/linecache.py @@ -81,7 +81,7 @@ def updatecache(filename, module_globals=None): except os.error, msg: basename = os.path.split(filename)[1] - # Try for a __loader__, if available + # Try for a __loader__, if available if module_globals and '__loader__' in module_globals: name = module_globals.get('__name__') loader = module_globals['__loader__'] @@ -95,7 +95,7 @@ def updatecache(filename, module_globals=None): pass else: cache[filename] = ( - len(data), None, + len(data), None, [line+'\n' for line in data.splitlines()], fullname ) return cache[filename][2] |
