mirror of https://github.com/python/cpython
Fix example.
This commit is contained in:
parent
5ca3fd8d39
commit
960b186eaf
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue