On Sun, Oct 19, 2008 at 10:58 AM, drmikecrowe <[EMAIL PROTECTED]> wrote:
> It looks like I have to override scan(), but can't figure out how to call the
> parent.
Are you sure your subclass is actually a subclass of baseScannerClass?
What happens when you call the base class scan method?
For reference, the following works for me when executed as a script in
the body pane.
class baseClass:
def foo(self):
g.trace('baseClass')
class subClass (baseClass):
def foo(self):
g.trace('subClass')
baseClass.foo(self)
z = subClass()
z.foo()
Edward
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---