code: def write(self, word):
  		
  		self.repr_.setvalue(word)
  		try:
  			self.open_stream.write(chr(self.repr_.getvalue()))
  		except OverflowError:
  			self.open_stream.write("?")
docs: .. _SOwrite:
  
  		Write the ``chr`` representation of ``word`` to the ``open_stream``.
  		
  		If ``chr(word)`` fails due ``OverflowError``, a ``"?"`` will be written.