summaryrefslogtreecommitdiffstats
path: root/Doc/library/traceback.rst
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2009-04-28 19:02:55 (GMT)
committerR. David Murray <rdmurray@bitdance.com>2009-04-28 19:02:55 (GMT)
commit3b23c9c516991ce55ca23f202872575354c16447 (patch)
tree7a9503b6649ab18458b1c60df4ac5b50a6fd0ea4 /Doc/library/traceback.rst
parent636b23a96f101e9da6316b06ecce55736a01faa6 (diff)
downloadcpython-3b23c9c516991ce55ca23f202872575354c16447.zip
cpython-3b23c9c516991ce55ca23f202872575354c16447.tar.gz
cpython-3b23c9c516991ce55ca23f202872575354c16447.tar.bz2
Remove spurious 'u'.
Diffstat (limited to 'Doc/library/traceback.rst')
-rw-r--r--Doc/library/traceback.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/traceback.rst b/Doc/library/traceback.rst
index adf0648..9c8c93f 100644
--- a/Doc/library/traceback.rst
+++ b/Doc/library/traceback.rst
@@ -229,13 +229,14 @@ The output for the example would look similar to this::
*** 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