]>
Commit | Line | Data |
---|---|---|
3257aa99 DM |
1 | """This file is only retained for backwards compatibility.\r |
2 | It will be removed in the future. sre was moved to re in version 2.5.\r | |
3 | """\r | |
4 | \r | |
5 | import warnings\r | |
6 | warnings.warn("The sre module is deprecated, please import re.",\r | |
7 | DeprecationWarning, 2)\r | |
8 | \r | |
9 | from re import *\r | |
10 | from re import __all__\r | |
11 | \r | |
12 | # old pickles expect the _compile() reconstructor in this module\r | |
13 | from re import _compile\r |