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

Function iscntrl

Lib/curses/ascii.py:58–58  ·  view source on GitHub ↗
(c)

Source from the content-addressed store, hash-verified

56def isascii(c): return 0 <= _ctoi(c) <= 127 # ?
57def isblank(c): return _ctoi(c) in (9, 32)
58def iscntrl(c): return 0 <= _ctoi(c) <= 31 or _ctoi(c) == 127
59def isdigit(c): return 48 <= _ctoi(c) <= 57
60def isgraph(c): return 33 <= _ctoi(c) <= 126
61def islower(c): return 97 <= _ctoi(c) <= 122

Callers

nothing calls this directly

Calls 1

_ctoiFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…