comparison env/lib/python3.9/site-packages/configparser.py @ 0:4f3585e2f14b draft default tip

"planemo upload commit 60cee0fc7c0cda8592644e1aad72851dec82c959"
author shellac
date Mon, 22 Mar 2021 18:12:50 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4f3585e2f14b
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.