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

Method _write

Lib/wsgiref/handlers.py:412–419  ·  view source on GitHub ↗

Override in subclass to buffer data for send to client It's okay if this method actually transmits the data; BaseHandler just separates write and flush operations for greater efficiency when the underlying system actually has such a distinction.

(self,data)

Source from the content-addressed store, hash-verified

410 # Pure abstract methods; *must* be overridden in subclasses
411
412 def _write(self,data):
413 """Override in subclass to buffer data for send to client
414
415 It's okay if this method actually transmits the data; BaseHandler
416 just separates write and flush operations for greater efficiency
417 when the underlying system actually has such a distinction.
418 """
419 raise NotImplementedError
420
421 def _flush(self):
422 """Override in subclass to force sending of recent '_write()' calls

Callers 3

send_preambleMethod · 0.95
writeMethod · 0.95
send_headersMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected