MCPcopy Index your code
hub / github.com/bslatkin/effectivepython / write

Method write

example_code/item_078.py:118–122  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

116 self.output.write(data)
117
118 async def write(self, data):
119 coro = self.real_write(data)
120 future = asyncio.run_coroutine_threadsafe(
121 coro, self.loop)
122 await asyncio.wrap_future(future)
123
124
125 print("Example 6")

Callers 15

item_065.pyFile · 0.80
item_086.pyFile · 0.80
item_044.pyFile · 0.80
write_asyncFunction · 0.80
real_writeMethod · 0.80
write_random_dataFunction · 0.80
sendMethod · 0.80
item_089.pyFile · 0.80
item_080.pyFile · 0.80
divide_jsonFunction · 0.80
run_encryptFunction · 0.80
writeFunction · 0.80

Calls 1

real_writeMethod · 0.95

Tested by 1

test_modify_fileMethod · 0.64