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

Method is_onlyws

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

Source from the content-addressed store, hash-verified

576 self._initial_size = 0
577
578 def is_onlyws(self):
579 return self._initial_size==0 and (not self or str(self).isspace())
580
581 def part_count(self):
582 return super().__len__()

Callers 1

newlineMethod · 0.80

Calls 2

strFunction · 0.85
isspaceMethod · 0.80

Tested by

no test coverage detected