Static method

class method
static method

1 Python[ | ]

class myUtil(object):
    def square(x):
        return x * x

print( myUtil.square(3) )
# 9

2 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}