[Python-checkins] r60154 - python/trunk/Doc/library/configparser.rst

georg.brandl python-checkins at python.org
Mon Jan 21 17:28:13 CET 2008


Author: georg.brandl
Date: Mon Jan 21 17:28:13 2008
New Revision: 60154

Modified:
   python/trunk/Doc/library/configparser.rst
Log:
Fix example.


Modified: python/trunk/Doc/library/configparser.rst
==============================================================================
--- python/trunk/Doc/library/configparser.rst	(original)
+++ python/trunk/Doc/library/configparser.rst	Mon Jan 21 17:28:13 2008
@@ -446,3 +446,5 @@
            # Create non-existent section
            config.add_section(section2)
            opt_move(config, section1, section2, option)
+       else:
+           config.remove_option(section1, option)


More information about the Python-checkins mailing list