summaryrefslogtreecommitdiffstats
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
parenteee2e519e9ecccca038f93b6f8e5dd3c0082fe89 (diff)
downloadlibplist-d7fe479707af57aeedf7e41c08e7fb698cd2e2a3.tar.gz
libplist-d7fe479707af57aeedf7e41c08e7fb698cd2e2a3.tar.bz2
cython: Fix build with cython 3.1+
-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):
return plist_new_string(native)
if isinstance(native, bool):
return plist_new_bool(<bint>native)
- if isinstance(native, int) or isinstance(native, long):
+ if isinstance(native, int):
return plist_new_uint(native)
if isinstance(native, float):
return plist_new_real(native)