Commits

Barry Warsaw  committed 7b8ddde Draft

intermediate

  • Participants
  • Parent commits aa90cf8

Comments (0)

Files changed (1)

File Lib/test/bugs/pr127.py

+class foo:
+    def bar():
+        return 'bar'
+
+try:
+    foo.bar()
+except TypeError:
+    pass
+else:
+    print 'unbound method must be called with class instance 1st argument'