Skip to content

Commit 5330c58

Browse files
committed
add necessary noexcept for more recent cython
1 parent 461b402 commit 5330c58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/basemap/src/_geoslib.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ cdef extern from "geos_c.h":
112112
# Cython 3: Next cdef needs "noexcept" declaration unless
113113
# the compiler directive "legacy_implicit_noexcept" is used
114114
# ("noexcept" syntax supported since Cython 0.29.31).
115-
cdef void notice_h(const char *fmt, ...):
115+
cdef void notice_h(const char *fmt, ...) noexcept:
116116
pass
117117
#format = PyBytes_FromString(fmt)
118118
#message = PyBytes_FromString(msg)

0 commit comments

Comments
 (0)