1. Ronald Oussoren
  2. pyobjc

Commits

Bill Bumgarner  committed 04f6bf3

Fixed a really silly bug in the convenience methods for NSManagedObject.

  • Participants
  • Parent commits 88bd070
  • Branches pyobjc-ancient

Comments (0)

Files changed (1)

File Lib/objc/_convenience.py

View file
  • Ignore whitespace
 )
 
 CLASS_METHODS['NSManagedObject'] = (
-    ('__setattr__', lambda self, name, value: self.setValue_forKey_(name, value)),
+    ('__setattr__', lambda self, name, value: self.setValue_forKey_(value, name)),
     ('__getattr__', lambda self, name: self.valueForKey_(name)),
     )