Skip to content

Commit 9e091e1

Browse files
committed
Closes #16657: fix docstring of traceback.format_tb().
1 parent 72aabb6 commit 9e091e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/traceback.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def print_tb(tb, limit=None, file=None):
7171
n = n+1
7272

7373
def format_tb(tb, limit=None):
74-
"""A shorthand for 'format_list(extract_stack(f, limit))."""
74+
"""A shorthand for 'format_list(extract_tb(tb, limit))'."""
7575
return format_list(extract_tb(tb, limit))
7676

7777
def extract_tb(tb, limit=None):

0 commit comments

Comments
 (0)