mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-19 10:21:14 +08:00
html5lib: Additional types (#11411)
This commit is contained in:
committed by
GitHub
parent
7c3cb9971d
commit
cb27610970
@@ -36,7 +36,7 @@ class HTMLUnicodeInputStream:
|
||||
prevNumCols: int
|
||||
def reset(self) -> None: ...
|
||||
def openStream(self, source): ...
|
||||
def position(self): ...
|
||||
def position(self) -> tuple[int, int]: ...
|
||||
def char(self): ...
|
||||
def readChunk(self, chunkSize: Incomplete | None = None): ...
|
||||
def characterErrorsUCS4(self, data) -> None: ...
|
||||
|
||||
@@ -32,6 +32,7 @@ class HTMLParser:
|
||||
lastPhase: Any
|
||||
beforeRCDataPhase: Any
|
||||
framesetOK: bool
|
||||
tokenizer: Any
|
||||
def reset(self) -> None: ...
|
||||
@property
|
||||
def documentEncoding(self) -> str | None: ...
|
||||
|
||||
Reference in New Issue
Block a user