Simple introspection?

Afanasiy abelikov72 at hotmail.com
Sat Feb 8 16:30:10 CET 2003


# Can I make parentfunction print 'child' in a non-literal fashion?

class parent:
  def parentfunction(self):
    print 'Can I print "child" here?'

class child(parent):
  def test(self):
    self.parentfunction()





More information about the Python-list mailing list