Use roles :data: and :const: for referencing module variables (GH-129507)

This commit is contained in:
Serhiy Storchaka 2025-02-04 16:16:41 +02:00 committed by GitHub
parent 96ff4c2486
commit 078ab828b9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 39 additions and 39 deletions

View file

@ -43,7 +43,7 @@ Identifying free-threaded Python
================================
To check if the current interpreter supports free-threading, :option:`python -VV <-V>`
and :attr:`sys.version` contain "experimental free-threading build".
and :data:`sys.version` contain "experimental free-threading build".
The new :func:`sys._is_gil_enabled` function can be used to check whether
the GIL is actually disabled in the running process.