Skip to content

Commit 2148531

Browse files
committed
normlize cython syntax: cython/cython#5430
1 parent b5bd3fe commit 2148531

File tree

2 files changed

+154
-154
lines changed

2 files changed

+154
-154
lines changed

cmake/cython_test.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ cdef extern from "<symengine/symbol.h>" namespace "SymEngine":
7575
string get_name() nogil
7676

7777
cdef extern from "<symengine/add.h>" namespace "SymEngine":
78-
cdef RCP[Basic] add(RCP[Basic] &a, RCP[Basic] &b) except+ nogil
79-
cdef RCP[Basic] sub(RCP[Basic] &a, RCP[Basic] &b) except+ nogil
78+
cdef RCP[Basic] add(RCP[Basic] &a, RCP[Basic] &b) nogil except +
79+
cdef RCP[Basic] sub(RCP[Basic] &a, RCP[Basic] &b) nogil except +
8080

8181
cdef cppclass Add(Basic):
8282
void as_two_terms(const Ptr[RCP[Basic]] &a, const Ptr[RCP[Basic]] &b)

0 commit comments

Comments
 (0)