From: Kent J. <kjo...@tr...> - 2001-04-04 13:37:49
|
At 3:42 AM -0700 4/4/01, Finn Bock wrote: >Keep in mind that python class can't overload a method name. Instead it >can define different numbers of arguments to the same method. So, if a jython class overrides a method from a Java superclass, - The jython class can only have one implementation of the method (no overloaded methods in Python) - Any call to that method name, regardless of actual arguments, will be sent to the jython method Is that right? Would it be possible for the runtime to look at the number of arguments, at least, and look up the inheritance hierarchy to find a method match? Kent |