aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/python3/src/Lib/sre_compile.py
blob: f9da61e6487869b7f416b0a4e92064ad8e877fa2 (plain) (blame)
1
2
3
4
5
6
7
import warnings
warnings.warn(f"module {__name__!r} is deprecated",
              DeprecationWarning,
              stacklevel=2)

from re import _compiler as _
globals().update({k: v for k, v in vars(_).items() if k[:2] != '__'})