Staging
v0.5.1
https://github.com/python/cpython
Revision c9a195ec0b830d719ce5ebf8abe82c6e4a3247b8 authored by Benjamin Peterson on 08 October 2019, 03:37:45 UTC, committed by GitHub on 08 October 2019, 03:37:45 UTC
(cherry picked from commit ee171a26c1169abfae534b08acc0d95c6e45a22a)

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
1 parent 1c7b141
Raw File
Tip revision: c9a195ec0b830d719ce5ebf8abe82c6e4a3247b8 authored by Benjamin Peterson on 08 October 2019, 03:37:45 UTC
[2.7] Stop using deprecated logging API in Sphinx suspicious checker (GH-16635)
Tip revision: c9a195e
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