RandomSec/extensions/jython/module/MOD-INF/lib/jython/sre.py
Stefano Mazzocchi ba60780fa3 avoid the double naming problem in modules
git-svn-id: http://google-refine.googlecode.com/svn/trunk@996 7d457c2a-affb-35e4-300a-418c747d4874
2010-06-19 02:32:12 +00:00

14 lines
384 B
Python

"""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