Created
July 24, 2012 08:01
-
-
Save ohta-rh/3168712 to your computer and use it in GitHub Desktop.
Python class method
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#coding: utf-8 | |
class Hoge : | |
@classmethod | |
def say_hoge(cls) : | |
print "hoge" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment