Add missing return type in sre_constants (#3712)

This commit is contained in:
Rune Tynan authored and GitHub committed 2020-02-02 14:36:34 -08:00
1 parent 94fd3b5101
commit 2c2c60bfc8
1 file changed
+1 -1
+1 -1
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]