A question about funcation parameter and self defined object

Terry Reedy tjreedy at udel.edu
Wed Oct 8 23:24:30 EDT 2008


Wei Guo wrote:
> Hi Chris,
>  
> Thanks a lot for reply, you are right. I want to use this method as a 
> static method as:
>  
> translation = staticmethod( translation )

static methods are mostly useless in Python.  Just put the definition of 
translation outside of any class.




More information about the Python-list mailing list