mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
Add missing return type in sre_constants (#3712)
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user