Fix example.

This commit is contained in:
Georg Brandl 2008-01-21 16:28:13 +00:00
parent 5ca3fd8d39
commit 960b186eaf
1 changed files with 2 additions and 0 deletions

View File

@ -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)