Python Library Reference
Previous: Up: 9.2 ConfigParser Next:


9.2.3 SafeConfigParser Objects

The SafeConfigParser class implements the same extended interface as ConfigParser, with the following addition:

set( section, option, value)
If the given section exists, set the given option to the specified value; otherwise raise NoSectionError. value must be a string (str or unicode); if not, TypeError is raised. New in version 2.4.

Python Library Reference
Previous: Up: 9.2 ConfigParser Next:

Release 2.5.2, documentation updated on 21st February, 2008.
See About this document... for information on suggesting changes.

AltStyle によって変換されたページ (->オリジナル) /