Mercurial > hgrepos > Python > libs > ConfigMix
comparison configmix/compat.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 """Some minimal compatibility shim between Python2 and Python3 | 6 """Some minimal compatibility shim between Python2 and Python3 |
| 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 |
| 12 __all__ = ["PY2", | 13 __all__ = ["PY2", |
| 13 "text_to_native_os_str", | 14 "text_to_native_os_str", |
| 14 "native_os_str_to_text", | 15 "native_os_str_to_text", |
| 15 "u", | 16 "u", |
