commit | e206e491729b9e531e861d5ef2df1e5fbadb69f4 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sun Oct 13 23:31:38 2013 +0200 |
committer | Georg Brandl <georg@python.org> | Sun Oct 13 23:31:38 2013 +0200 |
tree | d430da419e5ff843cde4415ab07accc6f651f451 | |
parent | b6f64504887d076b15bf4f1e657bb143f8a71dc9 [diff] |
Closes #16657: fix docstring of traceback.format_tb().
diff --git a/Lib/traceback.py b/Lib/traceback.py index da17d3a..5ad2838 100644 --- a/Lib/traceback.py +++ b/Lib/traceback.py
@@ -72,7 +72,7 @@ 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):