mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-11-02 17:47:29 +08:00
Use Final for undocumented constants (#12450)
This commit is contained in:
1 parent
1f4d0a815f
commit
9a77f6006d
10 files changed
+60
-61
No files matched your search
@@ -1,10 +1,10 @@
|
||||
from _typeshed import ReadableBuffer, SupportsRead
|
||||
from collections.abc import Callable
|
||||
from pyexpat import errors as errors, model as model
|
||||
from typing import Any, final
|
||||
from typing import Any, Final, final
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
EXPAT_VERSION: str # undocumented
|
||||
EXPAT_VERSION: Final[str] # undocumented
|
||||
version_info: tuple[int, int, int] # undocumented
|
||||
native_encoding: str # undocumented
|
||||
features: list[tuple[str, int]] # undocumented
|
||||
@@ -15,7 +15,6 @@ class ExpatError(Exception):
|
||||
offset: int
|
||||
|
||||
error = ExpatError
|
||||
|
||||
XML_PARAM_ENTITY_PARSING_NEVER: int
|
||||
XML_PARAM_ENTITY_PARSING_UNLESS_STANDALONE: int
|
||||
XML_PARAM_ENTITY_PARSING_ALWAYS: int
|
||||
|
||||
Reference in new issue
Block a user