Fix example.
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 @@
            # Create non-existent section
            config.add_section(section2)
            opt_move(config, section1, section2, option)
+       else:
+           config.remove_option(section1, option)