Mercurial > hgrepos > Python > libs > ConfigMix
comparison configmix/ini.py @ 250:ff964825a75a
Style: placement of "__all__"
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Tue, 07 Jul 2020 09:27:24 +0200 |
| parents | 13711ba8e81e |
| children | 2cfd670281ae |
comparison
equal
deleted
inserted
replaced
| 249:1e38ccfba3de | 250:ff964825a75a |
|---|---|
| 6 """Read INI-style configuration files. | 6 """Read INI-style configuration files. |
| 7 | 7 |
| 8 """ | 8 """ |
| 9 | 9 |
| 10 from __future__ import division, absolute_import, print_function | 10 from __future__ import division, absolute_import, print_function |
| 11 | |
| 12 | |
| 13 __all__ = ["INIConfigParser", "NoSectionError", "NoOptionError", | |
| 14 "load"] | |
| 15 | |
| 11 | 16 |
| 12 import sys | 17 import sys |
| 13 import os | 18 import os |
| 14 import io | 19 import io |
| 15 import locale | 20 import locale |
| 31 from ordereddict import OrderedDict as DictImpl | 36 from ordereddict import OrderedDict as DictImpl |
| 32 except ImportError: | 37 except ImportError: |
| 33 DictImpl = dict | 38 DictImpl = dict |
| 34 | 39 |
| 35 from .compat import u, u2fs | 40 from .compat import u, u2fs |
| 36 | |
| 37 | |
| 38 __all__ = ["INIConfigParser", "NoSectionError", "NoOptionError", | |
| 39 "load"] | |
| 40 | 41 |
| 41 | 42 |
| 42 class INIConfigParser(_ConfigParserBase): | 43 class INIConfigParser(_ConfigParserBase): |
| 43 | 44 |
| 44 """A case sensitive config parser that returns all-unicode string | 45 """A case sensitive config parser that returns all-unicode string |
