source: python/vendor/Python-2.7.6/Lib/sre.py

Last change on this file was 2, checked in by Yuri Dario, 15 years ago

Initial import for vendor code.

  • Property svn:eol-style set to native
File size: 384 bytes
Line 
1"""This file is only retained for backwards compatibility.
2It 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__
11
12# old pickles expect the _compile() reconstructor in this module
13from re import _compile
Note: See TracBrowser for help on using the repository browser.