mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-08-02 22:18:28 +08:00
[stdlib] Mark constants as Final (#14577)
This commit is contained in:
@@ -2,9 +2,9 @@ from re import Pattern
|
||||
from sre_constants import *
|
||||
from sre_constants import _NamedIntConstant
|
||||
from sre_parse import SubPattern
|
||||
from typing import Any
|
||||
from typing import Any, Final
|
||||
|
||||
MAXCODE: int
|
||||
MAXCODE: Final[int]
|
||||
|
||||
def dis(code: list[_NamedIntConstant]) -> None: ...
|
||||
def isstring(obj: Any) -> bool: ...
|
||||
|
||||
Reference in New Issue
Block a user