From: Georg Brandl Date: Sun, 13 Oct 2013 21:32:14 +0000 (+0200) Subject: Closes #16657: fix docstring of traceback.format_tb(). X-Git-Tag: v3.4.0a4~112^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9e091e120bad18841a041229aeff7e8fa611d337;p=thirdparty%2FPython%2Fcpython.git Closes #16657: fix docstring of traceback.format_tb(). --- diff --git a/Lib/traceback.py b/Lib/traceback.py index eeb9e7387c73..b13bfe2497cd 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):