Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions stubs/xmltodict/xmltodict.pyi
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
from _typeshed import SupportsRead, SupportsWrite
from _typeshed import ReadableBuffer, SupportsRead, SupportsWrite
from collections import OrderedDict
from collections.abc import Mapping
from types import GeneratorType
from typing import Any, overload

__license__: str

class ParsingInterrupted(Exception): ...

def parse(
xml_input: str | bytes | SupportsRead[bytes],
xml_input: str | ReadableBuffer | SupportsRead[bytes] | GeneratorType[bytes, Any, Any],
Comment thread
hauntsaninja marked this conversation as resolved.
Resolved
encoding: str | None = ...,
expat: Any = ...,
process_namespaces: bool = ...,
Expand Down