Re: A question about funcation parameter and self defined object

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Terry Reedy

    Re: A question about funcation parameter and self defined object

    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.

Working...