13.2.3 SafeConfigParser对象


SafeConifgParser对象继承自ConfigParser

SafeConfigParser.set(my_section,my_option,value)
my_sectionmy_option的值置为value,my_section不存在抛出NoSectionError,value必须是string类型(strorunicode), 否则会抛出TypeError异常

results matching ""

    No results matching ""