Add missing return type in sre_constants (#3712)

This commit is contained in:
Rune Tynan
2020-02-02 17:36:34 -05:00
committed by GitHub
parent 94fd3b5101
commit 2c2c60bfc8

View File

@@ -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]