comparison configmix/json.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
6 """Read JSON-style configuration files. 6 """Read JSON-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__ = ["load"]
14
11 15
12 import io 16 import io
13 import json.decoder 17 import json.decoder
14 try: 18 try:
15 from collections import OrderedDict as DictImpl 19 from collections import OrderedDict as DictImpl
18 from ordereddict import OrderedDict as DictImpl 22 from ordereddict import OrderedDict as DictImpl
19 except ImportError: 23 except ImportError:
20 DictImpl = dict 24 DictImpl = dict
21 25
22 from .compat import u2fs 26 from .compat import u2fs
23
24
25 __all__ = ["load"]
26 27
27 28
28 # 29 #
29 # Determine whether the JSONDecoder has the "object_pairs_hook" 30 # Determine whether the JSONDecoder has the "object_pairs_hook"
30 # parameter once 31 # parameter once