Skip to content

Commit 5949fbc

Browse files
Mark pymodule as supporting free-threading python (nogil)
1 parent d3bc438 commit 5949fbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ impl From<deno_urlpattern::Error> for Error {
353353
}
354354

355355
/// A Python module implemented in Rust.
356-
#[pymodule]
356+
#[pymodule(gil_used = false)]
357357
mod urlpattern {
358358
#[pymodule_export]
359359
use super::UrlPattern;

0 commit comments

Comments
 (0)