Remove spurious 'u'.

This commit is contained in:
R. David Murray 2009-04-28 19:02:55 +00:00
parent 636b23a96f
commit 3b23c9c516
1 changed files with 2 additions and 1 deletions

View File

@ -229,13 +229,14 @@ The output for the example would look similar to this::
*** extract_tb: *** extract_tb:
[('<doctest...>', 10, '<module>', 'lumberjack()'), [('<doctest...>', 10, '<module>', 'lumberjack()'),
('<doctest...>', 4, 'lumberjack', 'bright_side_of_death()'), ('<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: *** format_tb:
[' File "<doctest...>", line 10, in <module>\n lumberjack()\n', [' File "<doctest...>", line 10, in <module>\n lumberjack()\n',
' File "<doctest...>", line 4, in lumberjack\n bright_side_of_death()\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'] ' File "<doctest...>", line 7, in bright_side_of_death\n return tuple()[0]\n']
*** tb_lineno: 10 *** tb_lineno: 10
The following example shows the different ways to print and format the stack:: The following example shows the different ways to print and format the stack::
>>> import traceback >>> import traceback