blob: 700698c5fa9e932043bf9cdabb5f2cc657d6215d [file] [log] [blame]
Alexandre Vassalotti9510e4a2008-05-11 08:25:28 +00001import sys
2from warnings import warnpy3k
Fred Drake78a6a362000-10-11 22:16:45 +00003
Alexandre Vassalotti9510e4a2008-05-11 08:25:28 +00004warnpy3k("the copy_reg module has been renamed "
5 "to 'copyreg' in Python 3.0", stacklevel=2)
Fred Drake78a6a362000-10-11 22:16:45 +00006
Alexandre Vassalotti9510e4a2008-05-11 08:25:28 +00007import copyreg
8sys.modules[__name__] = copyreg