[Tutor] function overloading

D-Man dsh8290@rit.edu
Mon, 03 Apr 2000 17:52:11 -0400

I would like to know if Python has a few features that I like to use in
C++, function and operator overloading.  Does python even allow
operators to be defined for classes?

I want to be able to specify both a default constructor for a class and
a constructor that takes initial values of state as arguments.