@@ -48,16 +48,16 @@ class HTMLParser:
4848 def parse (self , stream : _InputStream , scripting : bool = ..., ** kwargs ): ...
4949 def parseFragment (self , stream : _InputStream , * args , ** kwargs ): ...
5050 def parseError (self , errorcode : str = "XXX-undefined-error" , datavars = None ) -> None : ...
51- def adjustMathMLAttributes (self , token ) -> None : ...
52- def adjustSVGAttributes (self , token ) -> None : ...
53- def adjustForeignAttributes (self , token ) -> None : ...
54- def reparseTokenNormal (self , token ) -> None : ...
51+ def adjustMathMLAttributes (self , token : dict [ str , Any ] ) -> None : ...
52+ def adjustSVGAttributes (self , token : dict [ str , Any ] ) -> None : ...
53+ def adjustForeignAttributes (self , token : dict [ str , Any ] ) -> None : ...
54+ def reparseTokenNormal (self , token : dict [ str , Any ] ) -> None : ...
5555 def resetInsertionMode (self ) -> None : ...
5656 originalPhase : Incomplete
5757 def parseRCDataRawtext (self , token , contentType ) -> None : ...
5858
5959def getPhases (debug ): ...
60- def adjust_attributes (token , replacements ) -> None : ...
60+ def adjust_attributes (token : dict [ str , Any ], replacements : dict [ str , Any ] ) -> None : ...
6161def impliedTagToken (
6262 name : str , type : str = "EndTag" , attributes : dict [str , Any ] | None = None , selfClosing : bool = False
6363) -> dict [str , Any ]: ...
0 commit comments