MCPcopy Index your code
hub / github.com/RustPython/RustPython / neitherspacenordigit

Method neitherspacenordigit

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

Source from the content-addressed store, hash-verified

371 def normalize_calendar(self, s):
372 # Filters out locale dependent strings
373 def neitherspacenordigit(c):
374 return not c.isspace() and not c.isdigit()
375
376 lines = []
377 for line in s.splitlines(keepends=False):

Callers

nothing calls this directly

Calls 2

isspaceMethod · 0.45
isdigitMethod · 0.45

Tested by

no test coverage detected