Show More
@@ -352,8 +352,8 b' class Pdb(OldPdb):' | |||
|
352 | 352 | |
|
353 | 353 | start = lineno - 1 - context//2 |
|
354 | 354 | lines = ulinecache.getlines(filename) |
|
355 | start = max(start, 0) | |
|
356 | 355 | start = min(start, len(lines) - context) |
|
356 | start = max(start, 0) | |
|
357 | 357 | lines = lines[start : start + context] |
|
358 | 358 | |
|
359 | 359 | for i,line in enumerate(lines): |
General Comments 0
You need to be logged in to leave comments.
Login now