MCPcopy Index your code
hub / github.com/python/cpython / _maxlengths

Method _maxlengths

Lib/email/header.py:484–488  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

482 self._lines.append(self._continuation_ws + line)
483
484 def _maxlengths(self):
485 # The first line's length.
486 yield self._maxlen - len(self._current_line)
487 while True:
488 yield self._maxlen - self._continuation_ws_len
489
490 def _ascii_split(self, fws, string, splitchars):
491 # The RFC 2822 header folding algorithm is simple in principle but

Callers 1

feedMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected