Searched refs:stream_or_string (Results 1 – 2 of 2) sorted by relevance
331 def parse(stream_or_string, parser=None, bufsize=None): argument334 if isinstance(stream_or_string, str):335 stream = open(stream_or_string, 'rb')337 stream = stream_or_string
88 .. function:: parse(stream_or_string, parser=None, bufsize=None)90 Return a :class:`DOMEventStream` from the given input. *stream_or_string* may be