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

Function check_errors

Lib/wsgiref/validate.py:366–370  ·  view source on GitHub ↗
(wsgi_errors)

Source from the content-addressed store, hash-verified

364 % (wsgi_input, attr))
365
366def check_errors(wsgi_errors):
367 for attr in ['flush', 'write', 'writelines']:
368 assert_(hasattr(wsgi_errors, attr),
369 "wsgi.errors (%r) doesn't have the attribute %s"
370 % (wsgi_errors, attr))
371
372def check_status(status):
373 status = check_string_type(status, "Status")

Callers 1

check_environFunction · 0.85

Calls 1

assert_Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…