Message83075
This is a patch against the configparser in the cvs version of 3.1 to
support [] notation:
>>> import configparser_patched
>>> config = configparser_patched.SafeConfigParser()
>>> config.add_section("spam")
>>> config["spam", "eggs"] = "yummy"
>>> config["spam", "eggs"]
'yummy'
>>> del config["spam", "eggs"]
>>>
The functions are just syntactic sugar for the simple forms of "get",
"set", and "remove_option". |
|
Date |
User |
Action |
Args |
2009-03-03 15:14:36 | jkaufman | set | recipients:
+ jkaufman |
2009-03-03 15:14:36 | jkaufman | set | messageid: <1236093276.38.0.814047349626.issue5412@psf.upfronthosting.co.za> |
2009-03-03 15:14:34 | jkaufman | link | issue5412 messages |
2009-03-03 15:14:33 | jkaufman | create | |
|