diff options
Diffstat (limited to 'Doc/library/configparser.rst')
-rw-r--r-- | Doc/library/configparser.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/library/configparser.rst b/Doc/library/configparser.rst index 979f351..28f2e59 100644 --- a/Doc/library/configparser.rst +++ b/Doc/library/configparser.rst @@ -420,3 +420,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) |