Kaydet (Commit) 1cf26c01 authored tarafından R. David Murray's avatar R. David Murray

Merged revisions 72079 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72079 | r.david.murray | 2009-04-28 15:02:55 -0400 (Tue, 28 Apr 2009) | 2 lines

  Remove spurious 'u'.
........
üst 52cad403
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment