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

Function check_exc_info

Lib/wsgiref/validate.py:427–430  ·  view source on GitHub ↗
(exc_info)

Source from the content-addressed store, hash-verified

425 assert_(0, "No Content-Type header found in headers (%s)" % headers)
426
427def check_exc_info(exc_info):
428 assert_(exc_info is None or type(exc_info) is tuple,
429 "exc_info (%r) is not a tuple: %r" % (exc_info, type(exc_info)))
430 # More exc_info checks?
431
432def check_iterator(iterator):
433 # Technically a bytestring is legal, which is why it's a really bad

Callers 1

start_response_wrapperFunction · 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…