Skip to content

Commit

Permalink
Update pyobjus.pyx
Browse files Browse the repository at this point in the history
  • Loading branch information
akshayaurora authored Sep 24, 2024
1 parent d088a68 commit a070ec7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyobjus/pyobjus.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ cdef class ObjcMethod(object):
if res_ptr == NULL:
raise MemoryError('Unable to allocate res_ptr')

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

else:
Expand Down

0 comments on commit a070ec7

Please sign in to comment.