Skip to content

Commit b9948ca

Browse files
committed
replaced a few Any with Incomplete
1 parent 89d4b1e commit b9948ca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

stubs/xmltodict/xmltodict.pyi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class _DictSAXHandler:
5656
def 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

Comments
 (0)