diff options
author | Andrew Kuchling <amk@amk.ca> | 2015-04-14 10:35:43 -0400 |
---|---|---|
committer | Andrew Kuchling <amk@amk.ca> | 2015-04-14 10:35:43 -0400 |
commit | 3b3863c2d496f01845eda76ccf6401458714397e (patch) | |
tree | 14af5692bc33ffc3a589478b03e33e597ce17166 /Lib/tracemalloc.py | |
parent | b6b4ba499008572740b20b22481074263fb4e5d7 (diff) | |
parent | da4c26c69f751f7c0207b009b2372bdc12c08bba (diff) | |
download | cpython-3b3863c2d496f01845eda76ccf6401458714397e.tar.gz |
Merge from 3.4
Diffstat (limited to 'Lib/tracemalloc.py')
-rw-r--r-- | Lib/tracemalloc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tracemalloc.py b/Lib/tracemalloc.py index adedfc5fb4..6288da8409 100644 --- a/Lib/tracemalloc.py +++ b/Lib/tracemalloc.py @@ -297,7 +297,7 @@ class _Traces(Sequence): def _normalize_filename(filename): filename = os.path.normcase(filename) - if filename.endswith(('.pyc', '.pyo')): + if filename.endswith('.pyc'): filename = filename[:-1] return filename |