MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / write

Method write

tools/python-3.11.9-amd64/Lib/code.py:152–159  ·  view source on GitHub ↗

Write a string. The base implementation writes to sys.stderr; a subclass may replace this with a different implementation.

(self, data)

Source from the content-addressed store, hash-verified

150 last_tb = ei = None
151
152 def write(self, data):
153 """Write a string.
154
155 The base implementation writes to sys.stderr; a subclass may
156 replace this with a different implementation.
157
158 """
159 sys.stderr.write(data)
160
161
162class InteractiveConsole(InteractiveInterpreter):

Callers 3

showsyntaxerrorMethod · 0.95
showtracebackMethod · 0.95
interactMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected