@classmethod
    def from_handle(cls, handle):
        if isinstance(handle, (int, long)):
            handle = c_void_p(handle)
        elif not isinstance(handle, c_void_p):
            raise TypeError('illegal handle type: %s' % type(handle))
        obj = cls(handle)
        obj.owner = False
        return obj
dataset/ETHPy150Open Skype4Py/Skype4Py/Skype4Py/api/darwin.py/CFType.from_handle/original