[Python-checkins] r62450 - python/trunk/Doc/whatsnew/2.6.rst
benjamin.peterson
python-checkins at python.org
Tue Apr 22 00:57:00 CEST 2008
Author: benjamin.peterson
Date: Tue Apr 22 00:57:00 2008
New Revision: 62450
Log:
Fix Sphinx warnings
Modified:
python/trunk/Doc/whatsnew/2.6.rst
Modified: python/trunk/Doc/whatsnew/2.6.rst
==============================================================================
--- python/trunk/Doc/whatsnew/2.6.rst (original)
+++ python/trunk/Doc/whatsnew/2.6.rst Tue Apr 22 00:57:00 2008
@@ -1810,17 +1810,17 @@
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`.)
More information about the Python-checkins
mailing list