From 3b23c9c516991ce55ca23f202872575354c16447 Mon Sep 17 00:00:00 2001 From: "R. David Murray" Date: Tue, 28 Apr 2009 19:02:55 +0000 Subject: [PATCH] Remove spurious 'u'. --- Doc/library/traceback.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/library/traceback.rst b/Doc/library/traceback.rst index adf0648fd64..9c8c93f1884 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: [('', 10, '', 'lumberjack()'), ('', 4, 'lumberjack', 'bright_side_of_death()'), - (u'', 7, 'bright_side_of_death', 'return tuple()[0]')] + ('', 7, 'bright_side_of_death', 'return tuple()[0]')] *** format_tb: [' File "", line 10, in \n lumberjack()\n', ' File "", line 4, in lumberjack\n bright_side_of_death()\n', ' File "", 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