diff options
author | Georg Brandl <georg@python.org> | 2013-10-13 21:32:14 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2013-10-13 21:32:14 (GMT) |
commit | 9e091e120bad18841a041229aeff7e8fa611d337 (patch) | |
tree | 9981585406fbb52935837aaeb49f34570ff4e488 | |
parent | 72aabb61778a10acc1ad394e5e518db301034579 (diff) | |
download | cpython-9e091e120bad18841a041229aeff7e8fa611d337.zip cpython-9e091e120bad18841a041229aeff7e8fa611d337.tar.gz cpython-9e091e120bad18841a041229aeff7e8fa611d337.tar.bz2 |
Closes #16657: fix docstring of traceback.format_tb().
-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): |