Function override?

Arinté jamarijr at hotmail.com
Thu Mar 30 15:37:20 EST 2000


I have a class similar to this:

class over:
   somefun(self, bakeint):
      ...
   somefun(self, bakeStr):

If the user uses a string then I want to use the 2nd one, else an
Integer then use the 1st one?

How can I get this?  And what is this call in c, the word escapes me
right now.


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list