.. _SOwrite:

		Write the ``chr`` representation of ``word`` to the ``open_stream``.
		
		If ``chr(word)`` fails due ``OverflowError``, a ``"?"`` will be written.

def write(self, word):
		"""
		.. _SOwrite:

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