MCPcopy 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
126def assert_(cond, *args):
127 if not cond:
128 raise AssertionError(*args)
129
130def check_string_type(value, title):
131 if type (value) is str:

Callers 15

lint_appFunction · 0.85
start_response_wrapperFunction · 0.85
readMethod · 0.85
readlineMethod · 0.85
readlinesMethod · 0.85
closeMethod · 0.85
writeMethod · 0.85
closeMethod · 0.85
__call__Method · 0.85
__next__Method · 0.85
__del__Method · 0.85
check_environFunction · 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…