On 26-Jan-05, at 8:58 PM, Dethe Elza wrote:
class NSImage(Category(NSImage)):

    def read_(cls, filepath):
        return NSImage.alloc().initWithhContentsOfFile_(filepath)
    read_ = classmethod(read_)

er, that should be initWithContentsOfFile_, but still gets the same error even without the typo.

--Dethe

Excel is the Awk of Windows --Joel Spolsky

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to