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

Method write

Lib/code.py:167–174  ·  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

165 self.write(''.join(lines))
166
167 def write(self, data):
168 """Write a string.
169
170 The base implementation writes to sys.stderr; a subclass may
171 replace this with a different implementation.
172
173 """
174 sys.stderr.write(data)
175
176
177class InteractiveConsole(InteractiveInterpreter):

Callers 2

_excepthookMethod · 0.95
interactMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected