You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.5 KiB
53 lines
1.5 KiB
6 years ago
|
#!/usr/bin/env python
|
||
|
# -*- coding: utf-8 -*-
|
||
|
|
||
|
"""Convenience module importing everything from backports.configparser."""
|
||
|
|
||
|
from __future__ import absolute_import
|
||
|
from __future__ import division
|
||
|
from __future__ import print_function
|
||
|
from __future__ import unicode_literals
|
||
|
|
||
|
|
||
|
from backports.configparser import (
|
||
|
RawConfigParser,
|
||
|
ConfigParser,
|
||
|
SafeConfigParser,
|
||
|
SectionProxy,
|
||
|
|
||
|
Interpolation,
|
||
|
BasicInterpolation,
|
||
|
ExtendedInterpolation,
|
||
|
LegacyInterpolation,
|
||
|
|
||
|
Error,
|
||
|
NoSectionError,
|
||
|
DuplicateSectionError,
|
||
|
DuplicateOptionError,
|
||
|
NoOptionError,
|
||
|
InterpolationError,
|
||
|
InterpolationMissingOptionError,
|
||
|
InterpolationSyntaxError,
|
||
|
InterpolationDepthError,
|
||
|
ParsingError,
|
||
|
MissingSectionHeaderError,
|
||
|
ConverterMapping,
|
||
|
|
||
|
_UNSET,
|
||
|
DEFAULTSECT,
|
||
|
MAX_INTERPOLATION_DEPTH,
|
||
|
_default_dict,
|
||
|
_ChainMap,
|
||
|
)
|
||
|
|
||
|
__all__ = ["NoSectionError", "DuplicateOptionError", "DuplicateSectionError",
|
||
|
"NoOptionError", "InterpolationError", "InterpolationDepthError",
|
||
|
"InterpolationMissingOptionError", "InterpolationSyntaxError",
|
||
|
"ParsingError", "MissingSectionHeaderError",
|
||
|
"ConfigParser", "SafeConfigParser", "RawConfigParser",
|
||
|
"Interpolation", "BasicInterpolation", "ExtendedInterpolation",
|
||
|
"LegacyInterpolation", "SectionProxy", "ConverterMapping",
|
||
|
"DEFAULTSECT", "MAX_INTERPOLATION_DEPTH"]
|
||
|
|
||
|
# NOTE: names missing from __all__ imported anyway for backwards compatibility.
|