[Python-checkins] cpython (3.3): Closes #16657: fix docstring of traceback.format_tb().

georg.brandl python-checkins at python.org
Sun Oct 13 23:33:23 CEST 2013


http://hg.python.org/cpython/rev/dcded8c7af89
changeset:   86351:dcded8c7af89
branch:      3.3
parent:      86346:4c15bf02b7c4
user:        Georg Brandl <georg at python.org>
date:        Sun Oct 13 23:32:14 2013 +0200
summary:
  Closes #16657: fix docstring of traceback.format_tb().

files:
  Lib/traceback.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/traceback.py b/Lib/traceback.py
--- a/Lib/traceback.py
+++ b/Lib/traceback.py
@@ -71,7 +71,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):

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list