Staging
v0.5.1
https://github.com/python/cpython
Revision 0caaa6c94d39d44db98f55f4f03d1f91f9c260af authored by Ned Deily on 04 November 2016, 21:05:59 UTC, committed by Ned Deily on 04 November 2016, 21:05:59 UTC
1 parent 52b0888
Raw File
Tip revision: 0caaa6c94d39d44db98f55f4f03d1f91f9c260af authored by Ned Deily on 04 November 2016, 21:05:59 UTC
Issue #28616: Correct help for sys.version_info releaselevel component.
Tip revision: 0caaa6c
sre.py
"""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
back to top