diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2017-01-03 00:48:34 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2017-01-03 00:48:34 (GMT) |
commit | 3f988744b066bdec689f3256165b0a82d39610f9 (patch) | |
tree | 330af31461b86b20a439d1012db003550c6415da /Lib | |
parent | 406c252970545211b28edf9daa69ceea105014b1 (diff) | |
parent | 225b01b840939499089d3c3a4abaf15afde85679 (diff) | |
download | cpython-3f988744b066bdec689f3256165b0a82d39610f9.zip cpython-3f988744b066bdec689f3256165b0a82d39610f9.tar.gz cpython-3f988744b066bdec689f3256165b0a82d39610f9.tar.bz2 |
Issue #15812: Merge from 3.5
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/inspect.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/inspect.py b/Lib/inspect.py index ba7a913..4d56ef5 100644 --- a/Lib/inspect.py +++ b/Lib/inspect.py @@ -1416,7 +1416,6 @@ def getframeinfo(frame, context=1): except OSError: lines = index = None else: - start = max(start, 0) start = max(0, min(start, len(lines) - context)) lines = lines[start:start+context] index = lineno - 1 - start |