cpython/Lib/copy_reg.py

9 lines
192 B
Python

import sys
from warnings import warnpy3k
warnpy3k("the copy_reg module has been renamed "
"to 'copyreg' in Python 3.0", stacklevel=2)
import copyreg
sys.modules[__name__] = copyreg