Mercurial > hgrepos > Python > apps > py-cutils
comparison cutils/util/__init__.py @ 196:0f4febf646f5
Prepare for more Python2/3 compatibility: everywhere import print_function and absolute_import
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Thu, 16 Jan 2025 20:01:37 +0100 |
| parents | 2784fdcc99e5 |
| children | 822cf3a1da22 |
comparison
equal
deleted
inserted
replaced
| 195:e5f6f4db9157 | 196:0f4febf646f5 |
|---|---|
| 4 # :License: BSD-3-Clause | 4 # :License: BSD-3-Clause |
| 5 # :- | 5 # :- |
| 6 r"""Utility package. | 6 r"""Utility package. |
| 7 | 7 |
| 8 """ | 8 """ |
| 9 | |
| 10 from __future__ import print_function, absolute_import | |
| 11 | |
| 9 | 12 |
| 10 __all__ = ["PY2", | 13 __all__ = ["PY2", |
| 11 "PY35", | 14 "PY35", |
| 12 "n", "b", "u", | 15 "n", "b", "u", |
| 13 "normalize_filename", | 16 "normalize_filename", |
