From 1b9df6862ac9c1faf2f2c5a9238241785001e10b Mon Sep 17 00:00:00 2001 From: Alexandre Vassalotti Date: Wed, 14 May 2008 21:52:37 +0000 Subject: Moved copy_reg stub module to lib-old/. Stub modules will be easier to track (and remove) if they are all kept in lib-old/, instead of sprinkling them throughout the library. --- Lib/copy_reg.py | 8 -------- Lib/lib-old/copy_reg.py | 8 ++++++++ 2 files changed, 8 insertions(+), 8 deletions(-) delete mode 100644 Lib/copy_reg.py create mode 100644 Lib/lib-old/copy_reg.py diff --git a/Lib/copy_reg.py b/Lib/copy_reg.py deleted file mode 100644 index 700698c..0000000 --- a/Lib/copy_reg.py +++ /dev/null @@ -1,8 +0,0 @@ -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 diff --git a/Lib/lib-old/copy_reg.py b/Lib/lib-old/copy_reg.py new file mode 100644 index 0000000..700698c --- /dev/null +++ b/Lib/lib-old/copy_reg.py @@ -0,0 +1,8 @@ +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 -- cgit v0.12