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

Method reset

Lib/email/header.py:572–576  ·  view source on GitHub ↗
(self, startval=None)

Source from the content-addressed store, hash-verified

570 for fws, part in self))
571
572 def reset(self, startval=None):
573 if startval is None:
574 startval = []
575 self[:] = startval
576 self._initial_size = 0
577
578 def is_onlyws(self):
579 return self._initial_size==0 and (not self or str(self).isspace())

Callers 2

newlineMethod · 0.45
_append_chunkMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected