Skip to content

Commit 0b3dc41

Browse files
style: pre-commit fixes
1 parent 247ce5f commit 0b3dc41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/advanced/embedding.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -492,8 +492,8 @@ Best Practices for sub-interpreter safety
492492
So you must still consider the thread safety of your C++ code. Remember, in Python 3.12
493493
sub-interpreters must be destroyed on the same thread that they were created on.
494494

495-
- When using sub-interpreters in free-threaded python builds, note that creating and destroying
496-
sub-interpreters may initiate a "stop-the-world". Be sure to detach long-running C++ threads
495+
- When using sub-interpreters in free-threaded python builds, note that creating and destroying
496+
sub-interpreters may initiate a "stop-the-world". Be sure to detach long-running C++ threads
497497
from Python thread state (similar to releasing the GIL) to avoid deadlocks.
498498

499499
- Familiarize yourself with :ref:`misc_concurrency`.

0 commit comments

Comments
 (0)