Skip to content

Instantly share code, notes, and snippets.

@wenLiangcan wenLiangcan/test.py
Created Feb 2, 2014

Embed
What would you like to do?
class test:
def __init__(self):
self.a = 1
@classmethod
def foo(cls, p, flag):
pass
def foo(self, p):
print(self.a)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.