MCPcopy
hub / github.com/django/django / __iter__

Method __iter__

django/http/multipartparser.py:755–759  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

753 self._separator = b"--" + boundary
754
755 def __iter__(self):
756 boundarystream = InterBoundaryIter(self._stream, self._separator)
757 for sub_stream in boundarystream:
758 # Iterate over each part
759 yield parse_boundary_stream(sub_stream, MAX_TOTAL_HEADER_SIZE)

Callers

nothing calls this directly

Calls 2

InterBoundaryIterClass · 0.85
parse_boundary_streamFunction · 0.85

Tested by

no test coverage detected