Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
class A():
def __new__(cls,i):
class C(cls,B):
print C
self = C()
print self
return self
def foo(self):
print 'foo'
class B():
def bar(self):
print 'bar'
a = A()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment