diff --git a/stdlib/3/sre_constants.pyi b/stdlib/3/sre_constants.pyi index 85f50ca0c..e51fff559 100644 --- a/stdlib/3/sre_constants.pyi +++ b/stdlib/3/sre_constants.pyi @@ -14,7 +14,7 @@ class error(Exception): class _NamedIntConstant(int): name: Any - def __new__(cls, value: int, name: str): ... + def __new__(cls, value: int, name: str) -> _NamedIntConstant: ... MAXREPEAT: _NamedIntConstant OPCODES: List[_NamedIntConstant]