Mercurial > repos > guerler > springsuite
comparison planemo/lib/python3.7/site-packages/future/moves/copyreg.py @ 0:d30785e31577 draft
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
| author | guerler |
|---|---|
| date | Fri, 31 Jul 2020 00:18:57 -0400 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:d30785e31577 |
|---|---|
| 1 from __future__ import absolute_import | |
| 2 from future.utils import PY3 | |
| 3 | |
| 4 if PY3: | |
| 5 import copyreg, sys | |
| 6 # A "*" import uses Python 3's copyreg.__all__ which does not include | |
| 7 # all public names in the API surface for copyreg, this avoids that | |
| 8 # problem by just making our module _be_ a reference to the actual module. | |
| 9 sys.modules['future.moves.copyreg'] = copyreg | |
| 10 else: | |
| 11 __future_module__ = True | |
| 12 from copy_reg import * |
