Mercurial > hgrepos > Python > apps > py-cutils
comparison cutils/util/digest.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"""Utility sub-module to implement a file and stream digest computations. | 6 r"""Utility sub-module to implement a file and stream digest computations. |
| 7 | 7 |
| 8 """ | 8 """ |
| 9 | |
| 10 from __future__ import print_function, absolute_import | |
| 11 | |
| 9 | 12 |
| 10 __all__ = ["compute_digest_file", "compute_digest_stream"] | 13 __all__ = ["compute_digest_file", "compute_digest_stream"] |
| 11 | 14 |
| 12 | 15 |
| 13 import errno | 16 import errno |
