From: Bruno Desthuilliers <bruno.42.desthuilli...@websiteburo.invalid>
Date: Mon, 11 May 2009 15:12:12 +0200
Local: Mon, May 11 2009 9:12 am
Subject: Re: Why there is a parameter named "self" for classmethod function?
Terry Reedy a crit :
> Kurt Symanzik wrote:Indeed. But there are a couple uses for staticmethods - one of them
>> But you might consider decorating the method as a static method
> Functions that refer to neither the class nor an instance thereof can
being polymorphic dispatch on the receiver object. And yes, I know,
modules are objects too, but this is not always an option (legacy code,
integration with a framework etc).
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.