OpenQuizz
Une application de gestion des contenus pédagogiques
|
Data Structures | |
class | CommentValue |
class | InlineTableDict |
class | TomlDecodeError |
class | TomlDecoder |
class | TomlPreserveCommentDecoder |
Functions | |
def | load (f, _dict=dict, decoder=None) |
def | loads (s, _dict=dict, decoder=None) |
Variables | |
unicode | |
basestring | |
unichr | |
FNFError | |
TIME_RE | |
def pip._vendor.toml.decoder.load | ( | f, | |
_dict = dict , |
|||
decoder = None |
|||
) |
Parses named file or files as toml and returns a dictionary Args: f: Path to the file to open, array of files to read into single dict or a file descriptor _dict: (optional) Specifies the class of the returned toml dictionary decoder: The decoder to use Returns: Parsed toml file represented as a dictionary Raises: TypeError -- When f is invalid type TomlDecodeError: Error while decoding toml IOError / FileNotFoundError -- When an array with no valid (existing) (Python 2 / Python 3) file paths is passed
def pip._vendor.toml.decoder.loads | ( | s, | |
_dict = dict , |
|||
decoder = None |
|||
) |
Parses string as toml Args: s: String to be parsed _dict: (optional) Specifies the class of the returned toml dictionary Returns: Parsed toml file represented as a dictionary Raises: TypeError: When a non-string is passed TomlDecodeError: Error while decoding toml
basestring |
FNFError |
TIME_RE |
unichr |
unicode |