Closes #16657: fix docstring of traceback.format_tb().

This commit is contained in:
Georg Brandl 2013-10-13 23:32:14 +02:00
parent 72aabb6177
commit 9e091e120b
1 changed files with 1 additions and 1 deletions

View File

@ -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):