summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/2.6.rst22
1 files changed, 11 insertions, 11 deletions
diff --git a/Doc/whatsnew/2.6.rst b/Doc/whatsnew/2.6.rst
index de3e9dc..aa969b1 100644
--- a/Doc/whatsnew/2.6.rst
+++ b/Doc/whatsnew/2.6.rst
@@ -1810,17 +1810,17 @@ complete list of changes, or look through the CVS logs for all the details.
module that returns the contents of resource files included
with an installed Python package. For example::
- >>> import pkgutil
- >>> pkgutil.get_data('test', 'exception_hierarchy.txt')
- 'BaseException
- +-- SystemExit
- +-- KeyboardInterrupt
- +-- GeneratorExit
- +-- Exception
- +-- StopIteration
- +-- StandardError
- ...'
- >>>
+ >>> import pkgutil
+ >>> pkgutil.get_data('test', 'exception_hierarchy.txt')
+ 'BaseException
+ +-- SystemExit
+ +-- KeyboardInterrupt
+ +-- GeneratorExit
+ +-- Exception
+ +-- StopIteration
+ +-- StandardError
+ ...'
+ >>>
(Contributed by Paul Moore; :issue:`2439`.)