From 960b186eafd75954507369eed443896465b0b010 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Mon, 21 Jan 2008 16:28:13 +0000 Subject: Fix example. --- Doc/library/configparser.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Doc/library/configparser.rst b/Doc/library/configparser.rst index aabbba7..ec3b022 100644 --- a/Doc/library/configparser.rst +++ b/Doc/library/configparser.rst @@ -446,3 +446,5 @@ The function ``opt_move`` below can be used to move options between sections:: # Create non-existent section config.add_section(section2) opt_move(config, section1, section2, option) + else: + config.remove_option(section1, option) -- cgit v0.12