mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
[3.14] gh-121028: Soft-deprecate sys.api_version (GH-136463) (GH-136928)
(cherry picked from commit 658599c15d)
Co-authored-by: Petr Viktorin <encukou@gmail.com>
This commit is contained in:
parent
031645a884
commit
0d87bb66d3
1 changed files with 5 additions and 2 deletions
|
|
@ -2191,8 +2191,11 @@ always available. Unless explicitly noted otherwise, all variables are read-only
|
|||
|
||||
.. data:: api_version
|
||||
|
||||
The C API version for this interpreter. Programmers may find this useful when
|
||||
debugging version conflicts between Python and extension modules.
|
||||
The C API version, equivalent to the C macro :c:macro:`PYTHON_API_VERSION`.
|
||||
Defined for backwards compatibility.
|
||||
|
||||
Currently, this constant is not updated in new Python versions, and is not
|
||||
useful for versioning. This may change in the future.
|
||||
|
||||
|
||||
.. data:: version_info
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue