The Python Way
Kevin Dahlhausen
kdahlhaus at yahoo.com
Thu Mar 28 11:57:26 EST 2002
Tim Peters <tim.one at comcast.net> wrote in message > class XandY:
> """A class to wrap x and y values.
> followed by 50 lines of unit tests to verify proper operation of the trivial
> methods. This kind of numbing excess is self-inflicted (for a meaning of
> "self" broad enough to encompass one's employer <wink>).
Hey, that looks like java. But-it's-encapsulated.
More information about the Python-list
mailing list