diff --git a/stdlib/3/re.pyi b/stdlib/3/re.pyi index 942f9bf6b..a303583cb 100644 --- a/stdlib/3/re.pyi +++ b/stdlib/3/re.pyi @@ -71,6 +71,10 @@ else: TEMPLATE = 0 _FlagsType = int +if sys.version_info < (3, 7): + # undocumented + _pattern_type = ... # type: type + class error(Exception): ... @overload