comparison configmix/py.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 eed16a1ec8f3
comparison
equal deleted inserted replaced
249:1e38ccfba3de 250:ff964825a75a
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 11
12
13 __all__ = ["load"]
14
15
12 try: 16 try:
13 from collections import OrderedDict as DictImpl 17 from collections import OrderedDict as DictImpl
14 except ImportError: 18 except ImportError:
15 try: 19 try:
16 from ordereddict import OrderedDict as DictImpl 20 from ordereddict import OrderedDict as DictImpl
17 except ImportError: 21 except ImportError:
18 DictImpl = dict 22 DictImpl = dict
19 23
20 from .compat import PY2, u2fs 24 from .compat import PY2, u2fs
21
22
23 __all__ = ["load"]
24 25
25 26
26 def load(filename, extract=None): 27 def load(filename, extract=None):
27 """Load Python-style configuration files. 28 """Load Python-style configuration files.
28 29