Skip to content

Commit 9087a74

Browse files
authored
Merge pull request #3497 from steffengraber/cython-fix
Fix issue with latest Cython release
2 parents e57984b + 0e041df commit 9087a74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pynest/pynestkernel.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ cdef inline Datum* python_object_to_datum(obj) except NULL:
361361

362362
if isinstance(obj, bool):
363363
ret = <Datum*> new BoolDatum(obj)
364-
elif isinstance(obj, (int, long)):
364+
elif isinstance(obj, int):
365365
ret = <Datum*> new IntegerDatum(obj)
366366
elif isinstance(obj, float):
367367
ret = <Datum*> new DoubleDatum(obj)

0 commit comments

Comments
 (0)