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

Function write

Lib/test/support/asyncore.py:95–101  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

93 obj.handle_error()
94
95def write(obj):
96 try:
97 obj.handle_write_event()
98 except _reraised_exceptions:
99 raise
100 except:
101 obj.handle_error()
102
103def _exception(obj):
104 try:

Callers 15

pollFunction · 0.70
uu_encodeFunction · 0.50
uu_decodeFunction · 0.50
test_strMethod · 0.50
test_bytesMethod · 0.50
test_method_lookupMethod · 0.50
test_bound_methodsMethod · 0.50
mainMethod · 0.50
writeMethod · 0.50
_serialize_xmlFunction · 0.50
_serialize_htmlFunction · 0.50
_serialize_textFunction · 0.50

Calls 2

handle_write_eventMethod · 0.45
handle_errorMethod · 0.45

Tested by 6

test_strMethod · 0.40
test_bytesMethod · 0.40
test_method_lookupMethod · 0.40
test_bound_methodsMethod · 0.40
mainMethod · 0.40
test_writeMethod · 0.40

Used in the wild real call sites across dependent graphs

searching dependent graphs…