File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -294,11 +294,11 @@ def __getitem__(self, key):
294
294
def filter (self , fn = lambda x : not x .ishidden ()):
295
295
""" return a Traceback instance with certain items removed
296
296
297
- fn is a function that gets a single argument, a TracebackItem
297
+ fn is a function that gets a single argument, a TracebackEntry
298
298
instance, and should return True when the item should be added
299
299
to the Traceback, False when not
300
300
301
- by default this removes all the TracebackItems which are hidden
301
+ by default this removes all the TracebackEntries which are hidden
302
302
(see ishidden() above)
303
303
"""
304
304
return Traceback (filter (fn , self ))
@@ -314,7 +314,7 @@ def getcrashentry(self):
314
314
return self [- 1 ]
315
315
316
316
def recursionindex (self ):
317
- """ return the index of the frame/TracebackItem where recursion
317
+ """ return the index of the frame/TracebackEntry where recursion
318
318
originates if appropriate, None if no recursion occurred
319
319
"""
320
320
cache = {}
You can’t perform that action at this time.
0 commit comments