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