Alexandre Vassalotti | 9510e4a | 2008-05-11 08:25:28 +0000 | [diff] [blame] | 1 | import sys |
2 | from warnings import warnpy3k | ||||
Fred Drake | 78a6a36 | 2000-10-11 22:16:45 +0000 | [diff] [blame] | 3 | |
Alexandre Vassalotti | 9510e4a | 2008-05-11 08:25:28 +0000 | [diff] [blame] | 4 | warnpy3k("the copy_reg module has been renamed " |
5 | "to 'copyreg' in Python 3.0", stacklevel=2) | ||||
Fred Drake | 78a6a36 | 2000-10-11 22:16:45 +0000 | [diff] [blame] | 6 | |
Alexandre Vassalotti | 9510e4a | 2008-05-11 08:25:28 +0000 | [diff] [blame] | 7 | import copyreg |
8 | sys.modules[__name__] = copyreg |