Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ assert_
Function
assert_
Lib/wsgiref/validate.py:126–128 ·
view source on GitHub ↗
(cond, *args)
Source
from the content-addressed store, hash-verified
124
""
"
125
126
def
assert_(cond, *args):
127
if
not cond:
128
raise
AssertionError(*args)
129
130
def
check_string_type(value, title):
131
if
type (value) is str:
Callers
15
lint_app
Function · 0.85
start_response_wrapper
Function · 0.85
read
Method · 0.85
readline
Method · 0.85
readlines
Method · 0.85
close
Method · 0.85
write
Method · 0.85
close
Method · 0.85
__call__
Method · 0.85
__next__
Method · 0.85
__del__
Method · 0.85
check_environ
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…