comparison env/lib/python3.7/site-packages/configparser.py @ 5:9b1c78e6ba9c draft default tip

"planemo upload commit 6c0a8142489327ece472c84e558c47da711a9142"
author shellac
date Mon, 01 Jun 2020 08:59:25 -0400
parents 79f47841a781
children
comparison
equal deleted inserted replaced
4:79f47841a781 5:9b1c78e6ba9c
1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*-
3
4 """Convenience module importing everything from backports.configparser."""
5
6 from __future__ import absolute_import
7 from __future__ import division
8 from __future__ import print_function
9 from __future__ import unicode_literals
10
11 from backports.configparser import (
12 RawConfigParser,
13 ConfigParser,
14 SafeConfigParser,
15 SectionProxy,
16 Interpolation,
17 BasicInterpolation,
18 ExtendedInterpolation,
19 LegacyInterpolation,
20 NoSectionError,
21 DuplicateSectionError,
22 DuplicateOptionError,
23 NoOptionError,
24 InterpolationError,
25 InterpolationMissingOptionError,
26 InterpolationSyntaxError,
27 InterpolationDepthError,
28 ParsingError,
29 MissingSectionHeaderError,
30 ConverterMapping,
31 DEFAULTSECT,
32 MAX_INTERPOLATION_DEPTH,
33 )
34
35 from backports.configparser import Error, _UNSET, _default_dict, _ChainMap # noqa: F401
36
37 __all__ = [
38 "NoSectionError",
39 "DuplicateOptionError",
40 "DuplicateSectionError",
41 "NoOptionError",
42 "InterpolationError",
43 "InterpolationDepthError",
44 "InterpolationMissingOptionError",
45 "InterpolationSyntaxError",
46 "ParsingError",
47 "MissingSectionHeaderError",
48 "ConfigParser",
49 "SafeConfigParser",
50 "RawConfigParser",
51 "Interpolation",
52 "BasicInterpolation",
53 "ExtendedInterpolation",
54 "LegacyInterpolation",
55 "SectionProxy",
56 "ConverterMapping",
57 "DEFAULTSECT",
58 "MAX_INTERPOLATION_DEPTH",
59 ]
60
61 # NOTE: names missing from __all__ imported anyway for backwards compatibility.