Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ data_received
Method
data_received
Lib/test/test_asyncio/test_windows_events.py:32–36 ·
view source on GitHub ↗
(self, data)
Source
from the content-addressed store, hash-verified
30
self.trans = trans
31
32
def
data_received(self, data):
33
self.buf.append(data)
34
if
b
'\n'
in data:
35
self.trans.write(b
''
.join(self.buf).upper())
36
self.trans.close()
37
38
39
class
WindowsEventsTestCase(test_utils.TestCase):
Callers
nothing calls this directly
Calls
5
append
Method · 0.45
write
Method · 0.45
upper
Method · 0.45
join
Method · 0.45
close
Method · 0.45
Tested by
no test coverage detected