blob: c04576bafa58871e84333c0da2a074614c01e97b [file] [log] [blame]
Neal Norwitzf0e2c072006-03-16 06:33:21 +00001"""This file is only retained for backwards compatibility.
Neal Norwitzf521de62006-03-16 06:31:02 +00002It will be removed in the future. sre was moved to re in version 2.5.
3"""
4
5import warnings
6warnings.warn("The sre module is deprecated, please import re.",
7 DeprecationWarning, 2)
8
9from re import *
10from re import __all__
Žiga Seilnacht7492e422007-03-21 20:07:56 +000011
12# old pickles expect the _compile() reconstructor in this module
13from re import _compile