Method Underscores?

Nicolas Fleury nid_oizo at yahoo.com_remove_the_
Thu Oct 21 12:48:39 EDT 2004


Hans Nowak wrote:
> I suppose it might be clearer if one could write
> 
> def +(self, other):
>     ...

And a syntax would be needed to get that function, that's why I like so 
much the Python approach.  My only complain is that _somename_ would 
probably have been enough instead of __somename__.  In C++, all 
_[A-Z_].* are reserved, reserve _.*_ would have been enough in Python IMHO.

Regards,
Nicolas



More information about the Python-list mailing list