Hello,

class A(self):
  def A1():
    pass

    class B(self):
      def B1():
        #************************************
        #***  How can I access A1 here???? ***
        #************************************
        self.A1() # doesnet work because self references to  B
        self.self.A1() #doesnt work either


Renanimg class B(self1): doesnt work either because self is not bound.

How can I access a method of a "upper" class?

--
Greg

                        
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to