comparison env/lib/python3.7/site-packages/configparser.py @ 0:26e78fe6e8c4 draft

"planemo upload commit c699937486c35866861690329de38ec1a5d9f783"
author shellac
date Sat, 02 May 2020 07:14:21 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:26e78fe6e8c4
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.