Mercurial > hgrepos > Python > apps > py-cutils
diff cutils/crcmod/predefined.py @ 180:d038f0a9ba49
Vendored crcmod2 into sub-package "cutils.crcmod" as pure-Python implementation of additional "digests": CRC sums.
Running python -m cutils.crcmod.test works successfully.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 13 Jan 2025 04:09:35 +0100 |
| parents | |
| children | 5c5c0c5a7402 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cutils/crcmod/predefined.py Mon Jan 13 04:09:35 2025 +0100 @@ -0,0 +1,13 @@ +# -*- coding: utf-8; -*- +from __future__ import absolute_import + +import sys + +if sys.version_info[0] < 3: + from .python2.predefined import * + from .python2.predefined import __doc__ +else: + from .python3.predefined import * + from .python3.predefined import __doc__ + +del sys
