MCPcopy Index your code
hub / github.com/RustPython/RustPython / write

Method write

extra_tests/snippets/stdlib_io.py:77–79  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

75 return False
76
77 def write(self, data):
78 self.textio.reconfigure(encoding="utf-8")
79 return len(data)
80
81
82raw = Gh6588()

Callers 9

kv_getFunction · 0.45
writelnMethod · 0.45
startTestMethod · 0.45
print_error_stringMethod · 0.45
runMethod · 0.45
test_01Function · 0.45
stdlib_os.pyFile · 0.45
stdlib_socket.pyFile · 0.45

Calls 2

lenFunction · 0.85
reconfigureMethod · 0.45

Tested by 6

writelnMethod · 0.36
startTestMethod · 0.36
print_error_stringMethod · 0.36
runMethod · 0.36
test_01Function · 0.36