Forward References?

Jeff Massung jmassung at magpiesystems.com
Tue Apr 18 16:12:13 EDT 2000


Jerome Chan wrote in message ...
>Just a silly question but how do I do forward references?
>
>
>class a:
>   def x(self):
>      y(self)

Should this be a.y(self)?
Also, someone mentioned above having: self.y() (or self.y(self)), my
question is what is the difference between a.y and self.y?

Jeff






More information about the Python-list mailing list