Skip to content

Commit 5ae5e8a

Browse files
committed
Mark the GIL as not used for python 3.13+.
1 parent 9798349 commit 5ae5e8a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/samplerate.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ py::array_t<float, py::array::c_style> resample(
430430

431431
namespace sr = samplerate;
432432

433-
PYBIND11_MODULE(samplerate, m) {
433+
PYBIND11_MODULE(samplerate, m, py::mod_gil_not_used()) {
434434
m.doc() =
435435
"A simple python wrapper library around libsamplerate"; // optional
436436
// module

0 commit comments

Comments
 (0)