aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/python3/src/Lib/sre_parse.py
blob: 25a3f557d44c61fae2a8bf7ede49c2845b73a3d7 (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 _parser as _
globals().update({k: v for k, v in vars(_).items() if k[:2] != '__'})