0
0
mirror of https://github.com/python/cpython.git synced 2024-11-24 00:38:00 +01:00
cpython/Lib/sre_constants.py

8 lines
232 B
Python
Raw Normal View History

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] != '__'})