Mercurial > hgrepos > Python > libs > ConfigMix
comparison configmix/config.py @ 250:ff964825a75a
Style: placement of "__all__"
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Tue, 07 Jul 2020 09:27:24 +0200 |
| parents | 1e38ccfba3de |
| children | 2a8dcab2de8c |
comparison
equal
deleted
inserted
replaced
| 249:1e38ccfba3de | 250:ff964825a75a |
|---|---|
| 7 variable substitution. | 7 variable substitution. |
| 8 | 8 |
| 9 """ | 9 """ |
| 10 | 10 |
| 11 from __future__ import division, absolute_import, print_function | 11 from __future__ import division, absolute_import, print_function |
| 12 | |
| 13 | |
| 14 __all__ = ["Configuration"] | |
| 15 | |
| 12 | 16 |
| 13 import warnings | 17 import warnings |
| 14 try: | 18 try: |
| 15 from collections import OrderedDict as ConfigurationBase | 19 from collections import OrderedDict as ConfigurationBase |
| 16 except ImportError: | 20 except ImportError: |
| 19 except ImportError: | 23 except ImportError: |
| 20 ConfigurationBase = dict | 24 ConfigurationBase = dict |
| 21 | 25 |
| 22 from .variables import lookup_varns, lookup_filter | 26 from .variables import lookup_varns, lookup_filter |
| 23 from .compat import u | 27 from .compat import u |
| 24 | |
| 25 | |
| 26 __all__ = ["Configuration"] | |
| 27 | 28 |
| 28 | 29 |
| 29 _MARKER = object() | 30 _MARKER = object() |
| 30 | 31 |
| 31 | 32 |
