In <[EMAIL PROTECTED]>, Ben Finney wrote:

>     class Human_Sex(str):
>         def __repr__(self):
>             repr_str = "%s(name=%s)" % (
>                 self.__class__.__name__,
>                 str.__repr__(self)
>             )
>             return repr_str

I'm a bit surprised that `Human_Sex` is subclassing `str`.

Ciao,
        Marc 'BlackJack' Rintsch
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to