diff options
Diffstat (limited to 'Lib/traceback.py')
-rw-r--r-- | Lib/traceback.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/traceback.py b/Lib/traceback.py index eeb9e73..b13bfe2 100644 --- a/Lib/traceback.py +++ b/Lib/traceback.py @@ -71,7 +71,7 @@ def print_tb(tb, limit=None, file=None): n = n+1 def format_tb(tb, limit=None): - """A shorthand for 'format_list(extract_stack(f, limit)).""" + """A shorthand for 'format_list(extract_tb(tb, limit))'.""" return format_list(extract_tb(tb, limit)) def extract_tb(tb, limit=None): |