Mercurial > hgrepos > Python > apps > py-cutils
comparison cutils/util/constants.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 | a813094ae4f5 |
| children | 48430941c18c |
comparison
equal
deleted
inserted
replaced
| 195:e5f6f4db9157 | 196:0f4febf646f5 |
|---|---|
| 4 # :License: BSD-3-Clause | 4 # :License: BSD-3-Clause |
| 5 # :- | 5 # :- |
| 6 r"""Common constants and compatibility definitions. | 6 r"""Common constants and compatibility definitions. |
| 7 | 7 |
| 8 """ | 8 """ |
| 9 | |
| 10 from __future__ import print_function, absolute_import | |
| 11 | |
| 9 | 12 |
| 10 __all__ = ["PATH_TYPES", | 13 __all__ = ["PATH_TYPES", |
| 11 "READ_CHUNK_SIZE", | 14 "READ_CHUNK_SIZE", |
| 12 "MAX_AUTO_MAP_SIZE", | 15 "MAX_AUTO_MAP_SIZE", |
| 13 "MAP_WINDOW_SIZE" | 16 "MAP_WINDOW_SIZE" |
