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

Class ErrorWrapper

Lib/wsgiref/validate.py:223–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221 assert_(0, "input.close() must not be called")
222
223class ErrorWrapper:
224
225 def __init__(self, wsgi_errors):
226 self.errors = wsgi_errors
227
228 def write(self, s):
229 assert_(type(s) is str)
230 self.errors.write(s)
231
232 def flush(self):
233 self.errors.flush()
234
235 def writelines(self, seq):
236 for line in seq:
237 self.write(line)
238
239 def close(self):
240 assert_(0, "errors.close() must not be called")
241
242class WriteWrapper:
243

Callers 1

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