xml: update for security fix (#11648)

Fixes #11643
This commit is contained in:
Shantanu
2024-03-22 13:07:05 -07:00
committed by GitHub
parent 9dcadd2d57
commit 13265a9347
3 changed files with 12 additions and 0 deletions

View File

@@ -32,6 +32,8 @@ class XMLParserType:
def ExternalEntityParserCreate(self, context: str | None, encoding: str = ..., /) -> XMLParserType: ...
def SetParamEntityParsing(self, flag: int, /) -> int: ...
def UseForeignDTD(self, flag: bool = True, /) -> None: ...
def GetReparseDeferralEnabled(self) -> bool: ...
def SetReparseDeferralEnabled(self, enabled: bool, /) -> None: ...
@property
def intern(self) -> dict[str, str]: ...
buffer_size: int