(self, method, receiver)
Initialize with a method and ObjCInstance or ObjCClass object.
Initialize with a method and ObjCInstance or ObjCClass object.
Initialize with a method and ObjCInstance or ObjCClass object .
def __init__(self, method, receiver):
        """Initialize with a method and ObjCInstance or ObjCClass object."""
        self.method = method
        if type(receiver) == Class:
            self.receiver = cast(receiver, objc_id)
        else:
            self.receiver = receiver
def __init__ ( self , method , receiver ) : self . method = method if type ( receiver ) == Class : self . receiver = cast ( receiver , objc_id ) else : self . receiver = receiver