Mercurial > hgrepos > Python > libs > ConfigMix
diff 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 |
line wrap: on
line diff
--- a/configmix/py.py Tue Jul 07 09:11:55 2020 +0200 +++ b/configmix/py.py Tue Jul 07 09:27:24 2020 +0200 @@ -9,6 +9,10 @@ from __future__ import division, absolute_import, print_function + +__all__ = ["load"] + + try: from collections import OrderedDict as DictImpl except ImportError: @@ -20,9 +24,6 @@ from .compat import PY2, u2fs -__all__ = ["load"] - - def load(filename, extract=None): """Load Python-style configuration files.
