Author ifreecarve
Recipients docs@python, georg.brandl, ifreecarve, r.david.murray
Date 2010-11-16.22:44:23
SpamBayes Score 1.70853e-05
Marked as misclassified No
Message-id <1289947465.09.0.0488812610041.issue10438@psf.upfronthosting.co.za>
In-reply-to
Content
Am I to understand that self.f() is a valid way to call a static method?  Can you see how that would run counter to intuition for someone who is familiar with other languages?

Given that, I would make the following (more precise) change:

< It can be called either on the class (such as C.f()) or on an instance (such as C().f()). 
---
> It can be called either on the class (such as C.f()) or on an instance (such as C().f() or self.f()).
History
Date User Action Args
2010-11-16 22:44:25ifreecarvesetrecipients: + ifreecarve, georg.brandl, r.david.murray, docs@python
2010-11-16 22:44:25ifreecarvesetmessageid: <1289947465.09.0.0488812610041.issue10438@psf.upfronthosting.co.za>
2010-11-16 22:44:23ifreecarvelinkissue10438 messages
2010-11-16 22:44:23ifreecarvecreate