Simple introspection?

Afanasiy abelikov72 at hotmail.com
Sat Feb 8 10:30:10 EST 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