41 lines
942 B
Python
41 lines
942 B
Python
|
class RawConfigParser:
|
||
|
def __init__(self):
|
||
|
pass
|
||
|
|
||
|
def sections(self):
|
||
|
"""Return a list of section names, excluding [DEFAULT]"""
|
||
|
pass
|
||
|
|
||
|
def add_section(self, section):
|
||
|
pass
|
||
|
|
||
|
def has_section(self, section):
|
||
|
pass
|
||
|
|
||
|
def options(self, section):
|
||
|
pass
|
||
|
|
||
|
def read(self, filename = None, fp = None):
|
||
|
pass
|
||
|
|
||
|
def get(self, section, option):
|
||
|
|
||
|
def items(self, section):
|
||
|
|
||
|
def getboolean(self, section, option):
|
||
|
|
||
|
def has_option(self, section, option):
|
||
|
"""Check for the existence of a given option in a given section."""
|
||
|
|
||
|
def set(self, section, option, value=None):
|
||
|
"""Set an option."""
|
||
|
|
||
|
def write(self, fp):
|
||
|
"""Write an .ini-format representation of the configuration state."""
|
||
|
|
||
|
def remove_option(self, section, option):
|
||
|
"""Remove an option."""
|
||
|
|
||
|
def remove_section(self, section):
|
||
|
"""Remove a file section."""
|