Message83075
| Author |
jkaufman |
| Recipients |
jkaufman |
| Date |
2009年03月03日.15:14:31 |
| SpamBayes Score |
0.007145708 |
| Marked as misclassified |
No |
| Message-id |
<1236093276.38.0.814047349626.issue5412@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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". |
|
History
|
|---|
| 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 |
|