[Python-checkins] r72079 - python/trunk/Doc/library/traceback.rst
r.david.murray
python-checkins at python.org
Tue Apr 28 21:02:56 CEST 2009
Author: r.david.murray
Date: Tue Apr 28 21:02:55 2009
New Revision: 72079
Log:
Remove spurious 'u'.
Modified:
python/trunk/Doc/library/traceback.rst
Modified: python/trunk/Doc/library/traceback.rst
==============================================================================
--- python/trunk/Doc/library/traceback.rst (original)
+++ python/trunk/Doc/library/traceback.rst Tue Apr 28 21:02:55 2009
@@ -229,13 +229,14 @@
*** extract_tb:
[('<doctest...>', 10, '<module>', 'lumberjack()'),
('<doctest...>', 4, 'lumberjack', 'bright_side_of_death()'),
- (u'<doctest...>', 7, 'bright_side_of_death', 'return tuple()[0]')]
+ ('<doctest...>', 7, 'bright_side_of_death', 'return tuple()[0]')]
*** format_tb:
[' File "<doctest...>", line 10, in <module>\n lumberjack()\n',
' File "<doctest...>", line 4, in lumberjack\n bright_side_of_death()\n',
' File "<doctest...>", line 7, in bright_side_of_death\n return tuple()[0]\n']
*** tb_lineno: 10
+
The following example shows the different ways to print and format the stack::
>>> import traceback
More information about the Python-checkins
mailing list