summaryrefslogtreecommitdiffstats
path: root/cython/plist.pyx
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2025-05-13 18:32:50 +0200
committerGravatar Nikias Bassen2025-05-13 18:32:50 +0200
commitd7fe479707af57aeedf7e41c08e7fb698cd2e2a3 (patch)
treec50a5f91e2729fcedeb12871633e7ab15295cc19 /cython/plist.pyx
parenteee2e519e9ecccca038f93b6f8e5dd3c0082fe89 (diff)
downloadlibplist-d7fe479707af57aeedf7e41c08e7fb698cd2e2a3.tar.gz
libplist-d7fe479707af57aeedf7e41c08e7fb698cd2e2a3.tar.bz2
cython: Fix build with cython 3.1+
Diffstat (limited to 'cython/plist.pyx')
-rw-r--r--cython/plist.pyx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cython/plist.pyx b/cython/plist.pyx
index b5f4ef6..4d1f8aa 100644
--- a/cython/plist.pyx
+++ b/cython/plist.pyx
@@ -851,7 +851,7 @@ cdef plist_t native_to_plist_t(object native):
851 return plist_new_string(native) 851 return plist_new_string(native)
852 if isinstance(native, bool): 852 if isinstance(native, bool):
853 return plist_new_bool(<bint>native) 853 return plist_new_bool(<bint>native)
854 if isinstance(native, int) or isinstance(native, long): 854 if isinstance(native, int):
855 return plist_new_uint(native) 855 return plist_new_uint(native)
856 if isinstance(native, float): 856 if isinstance(native, float):
857 return plist_new_real(native) 857 return plist_new_real(native)