summaryrefslogtreecommitdiff
path: root/Doc/library/traceback.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-01-03 21:18:54 +0000
committerGeorg Brandl <georg@python.org>2009-01-03 21:18:54 +0000
commite8e1ef2b43ba0bedf0069334f115a58afb126f0c (patch)
treeb9ed90945f6a0ef937f38967b2fed7d43efe8fe9 /Doc/library/traceback.rst
parent5d20a71b2054bb1cdf5676414dfb6957ca844bff (diff)
downloadcpython-e8e1ef2b43ba0bedf0069334f115a58afb126f0c.tar.gz
Remove trailing whitespace.
Diffstat (limited to 'Doc/library/traceback.rst')
-rw-r--r--Doc/library/traceback.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/traceback.rst b/Doc/library/traceback.rst
index dd3ae6947e..1129745e33 100644
--- a/Doc/library/traceback.rst
+++ b/Doc/library/traceback.rst
@@ -163,10 +163,10 @@ exception and traceback::
def lumberjack():
bright_side_of_death()
-
+
def bright_side_of_death():
return tuple()[0]
-
+
try:
lumberjack()
except:
@@ -245,12 +245,12 @@ The following example shows the different ways to print and format the stack::
>>> import traceback
>>> def another_function():
... lumberstack()
- ...
+ ...
>>> def lumberstack():
... traceback.print_stack()
... print(repr(traceback.extract_stack()))
... print(repr(traceback.format_stack()))
- ...
+ ...
>>> another_function()
File "<doctest>", line 10, in <module>
another_function()