summaryrefslogtreecommitdiffstats
path: root/Lib/sre.py
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2008-05-11 22:47:58 (GMT)
committerBrett Cannon <bcannon@gmail.com>2008-05-11 22:47:58 (GMT)
commitcf3520c2bf7a50fdd2e0251f435c9ebce180cfd2 (patch)
treec80483f1234599247c865dd0219f82d9c1fe5293 /Lib/sre.py
parent49d1b4f919039f6caeddf2d1eba9708c0cfe8bd4 (diff)
downloadcpython-cf3520c2bf7a50fdd2e0251f435c9ebce180cfd2.zip
cpython-cf3520c2bf7a50fdd2e0251f435c9ebce180cfd2.tar.gz
cpython-cf3520c2bf7a50fdd2e0251f435c9ebce180cfd2.tar.bz2
Remove the sre module.
Diffstat (limited to 'Lib/sre.py')
-rw-r--r--Lib/sre.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/Lib/sre.py b/Lib/sre.py
deleted file mode 100644
index c04576b..0000000
--- a/Lib/sre.py
+++ /dev/null
@@ -1,13 +0,0 @@
-"""This file is only retained for backwards compatibility.
-It will be removed in the future. sre was moved to re in version 2.5.
-"""
-
-import warnings
-warnings.warn("The sre module is deprecated, please import re.",
- DeprecationWarning, 2)
-
-from re import *
-from re import __all__
-
-# old pickles expect the _compile() reconstructor in this module
-from re import _compile