Skip to content

Commit 859897d

Browse files
authored
Doc/c-api: GIL is no longer shared between subinterpreters
It seems the C API documentation still specified the state before https://peps.python.org/pep-0684/. Remove the obsolete note.
1 parent 097c563 commit 859897d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Doc/c-api/init.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1016,9 +1016,7 @@ code, or when embedding the Python interpreter:
10161016
this structure.
10171017
10181018
Threads belonging to different interpreters initially share nothing, except
1019-
process state like available memory, open file descriptors and such. The global
1020-
interpreter lock is also shared by all threads, regardless of to which
1021-
interpreter they belong.
1019+
process state like available memory, open file descriptors and such.
10221020
10231021
10241022
.. c:type:: PyThreadState

0 commit comments

Comments
 (0)