@@ -56,7 +56,7 @@ class _DictSAXHandler:
5656def parse (
5757 xml_input : str | ReadableBuffer | SupportsRead [bytes ] | GeneratorType [ReadableBuffer , Any , Any ],
5858 encoding : str | None = None ,
59- expat : Any = ...,
59+ expat = ...,
6060 process_namespaces : bool = False ,
6161 namespace_separator : str = ":" ,
6262 disable_entities : bool = True ,
@@ -74,7 +74,7 @@ def unparse(
7474 attr_prefix : str = "@" ,
7575 cdata_key : str = "#text" ,
7676 depth : int = 0 ,
77- preprocessor : Callable [[str , Any ], tuple [str , Any ]] | None = None ,
77+ preprocessor : Callable [[str , Incomplete ], tuple [str , Incomplete ]] | None = None ,
7878 pretty : bool = False ,
7979 newl : str = "\n " ,
8080 indent : str = "\t " ,
@@ -93,7 +93,7 @@ def unparse(
9393 attr_prefix : str = "@" ,
9494 cdata_key : str = "#text" ,
9595 depth : int = 0 ,
96- preprocessor : Callable [[str , Any ], tuple [str , Any ]] | None = None ,
96+ preprocessor : Callable [[str , Incomplete ], tuple [str , Incomplete ]] | None = None ,
9797 pretty : bool = False ,
9898 newl : str = "\n " ,
9999 indent : str = "\t " ,
0 commit comments