MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / ErrorWrapper

Class ErrorWrapper

tools/python-3.11.9-amd64/Lib/wsgiref/validate.py:226–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

lint_appFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected