MCPcopy
hub / github.com/django/django / __next__

Method __next__

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

Source from the content-addressed store, hash-verified

549 self.chunk_size = chunk_size
550
551 def __next__(self):
552 try:
553 data = self.flo.read(self.chunk_size)
554 except InputStreamExhausted:
555 raise StopIteration()
556 if data:
557 return data
558 else:
559 raise StopIteration()
560
561 def __iter__(self):
562 return self

Callers 1

parse_header_parametersFunction · 0.45

Calls 1

readMethod · 0.45

Tested by

no test coverage detected