MCPcopy
hub / github.com/cherrypy/cherrypy / __next__

Method __next__

cherrypy/lib/encoding.py:53–57  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

51 return self.__next__()
52
53 def __next__(self):
54 res = next(self._iterator)
55 if isinstance(res, str):
56 res = res.encode('utf-8')
57 return res
58
59 def close(self):
60 if is_closable_iterator(self._iterator):

Callers 1

nextMethod · 0.95

Calls 1

encodeMethod · 0.80

Tested by

no test coverage detected