Commits

Anonymous committed e43e358 Draft

Added /home/cedric/python/balloon/test-balloon/.kirikou.kate-swp

  • Participants
  • Parent commits eadff31

Comments (0)

Files changed (2)

File .kirikou.kate-swp

Binary file added.
+
+
+
+class T(object):
+    a = 0
+
+    def __repr__(self):
+        return "<instance of %s>" % self.__class__.__name__
+
+    def __str__(self):
+        return str(self.a)
+
+
+class A(T):
+    pass
+
+
+class B(T):
+    a = 2
+
+
+class C(A,B):
+    pass
+
+if __name__ == "__main__":
+    c = C()
+ 
+    print(super(C, c).a)
+
+    print(super(A, C).a)
+    print(super(B, C).a)