@@ -14,25 +14,25 @@ _AttrValue: TypeAlias = str | dict[str, str]
1414_AttrDict : TypeAlias = dict [str , _AttrValue ]
1515
1616class _DictSAXHandler :
17- path : list [tuple [str , _AttrDict | None ]] = []
18- stack : list [tuple [_AttrDict | None , list [str ]]] = []
19- data : list [str ] = []
17+ path : list [tuple [str , _AttrDict | None ]]
18+ stack : list [tuple [_AttrDict | None , list [str ]]]
19+ data : list [str ]
2020 item : _AttrDict | None
21- item_depth : int = 0
22- xml_attribs : bool = True
21+ item_depth : int
22+ xml_attribs : bool
2323 item_callback : Callable [[list [tuple [str , _AttrDict | None ]], str | _AttrDict | None ], bool ]
24- attr_prefix : str = "@"
25- cdata_key : str = "#text"
26- force_cdata : bool = False
27- cdata_separator : str = ""
28- postprocessor : Callable [[list [tuple [str , _AttrDict | None ]], str , _AttrValue ], tuple [str , _AttrValue ]] | None = None
24+ attr_prefix : str
25+ cdata_key : str
26+ force_cdata : bool
27+ cdata_separator : str
28+ postprocessor : Callable [[list [tuple [str , _AttrDict | None ]], str , _AttrValue ], tuple [str , _AttrValue ]] | None
2929 dict_constructor : type [dict [str , str ]]
30- strip_whitespace : bool = True
31- namespace_separator : str = ":"
30+ strip_whitespace : bool
31+ namespace_separator : str
3232 namespaces : dict [str , str ] | None
33- namespace_declarations : dict [str , str ] = {}
34- force_list : bool | tuple [str ] | Callable [[tuple [str , _AttrDict | None ], str , str ], bool ] | None = None
35- comment_key : str = "#comment"
33+ namespace_declarations : dict [str , str ]
34+ force_list : bool | tuple [str ] | Callable [[tuple [str , _AttrDict | None ], str , str ], bool ] | None
35+ comment_key : str
3636 def __init__ (
3737 self ,
3838 item_depth : int = 0 ,
0 commit comments