OpenQuizz
Une application de gestion des contenus pédagogiques
|
Public Member Functions | |
def | __init__ (self, config, section) |
def | __del__ (self) |
def | __getattr__ (self, attr) |
def | config (self) |
def | release (self) |
def | __enter__ (self) |
def | __exit__ (self, exception_type, exception_value, traceback) |
Constrains a ConfigParser to only option commands which are constrained to always use the section we have been initialized with. It supports all ConfigParser methods that operate on an option. :note: If used as a context manager, will release the wrapped ConfigParser.
def __init__ | ( | self, | |
config, | |||
section | |||
) |
def __del__ | ( | self | ) |
def __enter__ | ( | self | ) |
def __exit__ | ( | self, | |
exception_type, | |||
exception_value, | |||
traceback | |||
) |
def __getattr__ | ( | self, | |
attr | |||
) |
def config | ( | self | ) |
return: Configparser instance we constrain
def release | ( | self | ) |
Equivalent to GitConfigParser.release(), which is called on our underlying parser instance