source:
trunk/essentials/dev-lang/python/Lib/sre.py@
3226
| Last change on this file since 3226 was 3225, checked in by , 19 years ago | |
|---|---|
| File size: 294 bytes | |
| Line | |
|---|---|
| 1 | """This file is only retained for backwards compatibility. |
| 2 | It will be removed in the future. sre was moved to re in version 2.5. |
| 3 | """ |
| 4 | |
| 5 | import warnings |
| 6 | warnings.warn("The sre module is deprecated, please import re.", |
| 7 | DeprecationWarning, 2) |
| 8 | |
| 9 | from re import * |
| 10 | from re import __all__ |
Note:
See TracBrowser
for help on using the repository browser.
