Something
public text v1 · immutable>>> class Writer:
... def write(self, txt):
... print txt
...
>>> w = Writer()
>>> print >>w, "hello"
hello>>> class Writer:
... def write(self, txt):
... print txt
...
>>> w = Writer()
>>> print >>w, "hello"
hello