changeset: 105970:7cbcee0c53e3 branch: 3.6 parent: 105966:7ef5b02b228a parent: 105969:2b6bdd6cd3f8 user: Berker Peksag date: Tue Jan 03 03:48:34 2017 +0300 files: Lib/inspect.py description: Issue #15812: Merge from 3.5 diff -r 7ef5b02b228a -r 7cbcee0c53e3 Lib/inspect.py --- a/Lib/inspect.py Tue Jan 03 03:35:49 2017 +0300 +++ b/Lib/inspect.py Tue Jan 03 03:48:34 2017 +0300 @@ -1416,7 +1416,6 @@ 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