Skip to content

Commit cd2ba23

Browse files
lysnikolaourgommers
andcommitted
Address feedback
Co-authored-by: Ralf Gommers <[email protected]>
1 parent 2f787b9 commit cd2ba23

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docs/porting.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,12 @@ running with the GIL disabled via the
2727
[`gil_not_used`](https://pybind11.readthedocs.io/en/stable/reference.html#_CPPv4N7module_23create_extension_moduleEPKcPKcP10module_def16mod_gil_not_used)
2828
argument to `create_extension_module`.
2929

30-
Starting with Cython 3.1.0 (only available via the nightly wheels), extension
31-
modules written in Cython can also do so using the
30+
Starting with Cython 3.1.0 (only available via the nightly wheels or the `master`
31+
branch as of right now), extension modules written in Cython can also do so using the
3232
[`freethreading_compatible`](https://cython.readthedocs.io/en/latest/src/userguide/source_files_and_compilation.html#compiler-directives)
33-
compiler directive. It can be enabled either per module or globally by adding
34-
`-Xfreethreading_comparible=True` to the Cython arguments via the project's
33+
compiler directive. It can be enabled either per module as a directive
34+
(`# cython: freethreading_compatible=True`) in `.pyx` files, or globally by adding
35+
`-Xfreethreading_compatible=True` to the Cython arguments via the project's
3536
build system.
3637

3738
C or C++ extension modules using multi-phase initialization can specify the

0 commit comments

Comments
 (0)