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

Method eof_received

Lib/asyncio/protocols.py:100–106  ·  view source on GitHub ↗

Called when the other end calls write_eof() or equivalent. If this returns a false value (including None), the transport will close itself. If it returns a true value, closing the transport is up to the protocol.

(self)

Source from the content-addressed store, hash-verified

98 """
99
100 def eof_received(self):
101 """Called when the other end calls write_eof() or equivalent.
102
103 If this returns a false value (including None), the transport
104 will close itself. If it returns a true value, closing the
105 transport is up to the protocol.
106 """
107
108
109class BufferedProtocol(BaseProtocol):

Callers 3

test_protocolMethod · 0.95
_read_ready__on_eofMethod · 0.45
_eof_receivedMethod · 0.45

Calls

no outgoing calls

Tested by 1

test_protocolMethod · 0.76