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

Function isascii

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

Source from the content-addressed store, hash-verified

54def isalnum(c): return isalpha(c) or isdigit(c)
55def isalpha(c): return isupper(c) or islower(c)
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

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…