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

Method neitherspacenordigit

Lib/test/test_calendar.py:409–410  ·  view source on GitHub ↗
(c)

Source from the content-addressed store, hash-verified

407 def normalize_calendar(self, s):
408 # Filters out locale dependent strings
409 def neitherspacenordigit(c):
410 return not c.isspace() and not c.isdigit()
411
412 lines = []
413 for line in s.splitlines(keepends=False):

Callers

nothing calls this directly

Calls 2

isspaceMethod · 0.80
isdigitMethod · 0.80

Tested by

no test coverage detected