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