Johannes Reichel wrote:
> Hi!
> 
> In C++ you can overload functions and constructors. For example if I have a
> class that represents a complex number, than it would be nice if I can
> write two seperate constructors
> 
> class Complex:

Please do note, if you want this for the exact use of a Complex class, 
Python does have complex arithmetic built-in:

print (0 + 1j)

The other posted points are still valid (and generally applicable).
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to