Skip to content

Commit a070ec7

Browse files
authored
Update pyobjus.pyx
1 parent d088a68 commit a070ec7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyobjus/pyobjus.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ cdef class ObjcMethod(object):
435435
if res_ptr == NULL:
436436
raise MemoryError('Unable to allocate res_ptr')
437437

438-
if not self.signature_return[0].startswith((b'(', b'{')):
438+
if not self.signature_return.startswith((b'(', b'{')):
439439
ffi_call(&self.f_cif, <void(*)() noexcept><id(*)(id, SEL)>objc_msgSend, res_ptr, f_args)
440440

441441
else:

0 commit comments

Comments
 (0)