mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-15 10:32:40 +08:00
Fix some CAPI annotations (#13081)
This commit is contained in:
1 parent
7ab6620c0f
commit
9614cc2d88
5 files changed
+8
-7
No files matched your search
@@ -2,7 +2,7 @@ from _typeshed import ReadableBuffer, SupportsRead
|
||||
from collections.abc import Callable
|
||||
from pyexpat import errors as errors, model as model
|
||||
from typing import Any, Final, final
|
||||
from typing_extensions import TypeAlias
|
||||
from typing_extensions import CapsuleType, TypeAlias
|
||||
from xml.parsers.expat import ExpatError as ExpatError
|
||||
|
||||
EXPAT_VERSION: Final[str] # undocumented
|
||||
@@ -78,3 +78,5 @@ def ErrorString(code: int, /) -> str: ...
|
||||
def ParserCreate(
|
||||
encoding: str | None = None, namespace_separator: str | None = None, intern: dict[str, Any] | None = None
|
||||
) -> XMLParserType: ...
|
||||
|
||||
expat_CAPI: CapsuleType
|
||||
Reference in new issue
Block a user