Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita439f85

Browse files
authored
[3.13]gh-118915: Add/fix docs entries for some new 3.13 C API (GH-124134) (#124244)
gh-118915: Add/fix docs entries for some new 3.13 C API (GH-124134)(cherry picked from commit32119fc)
1 parent057f3fa commita439f85

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

‎Doc/c-api/exceptions.rst‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1004,6 +1004,7 @@ the variables:
10041004
single: PyExc_OverflowError (C var)
10051005
single: PyExc_PermissionError (C var)
10061006
single: PyExc_ProcessLookupError (C var)
1007+
single: PyExc_PythonFinalizationError (C var)
10071008
single: PyExc_RecursionError (C var)
10081009
single: PyExc_ReferenceError (C var)
10091010
single: PyExc_RuntimeError (C var)
@@ -1096,6 +1097,8 @@ the variables:
10961097
+-----------------------------------------+---------------------------------+----------+
10971098
| :c:data:`PyExc_ProcessLookupError` | :exc:`ProcessLookupError` | |
10981099
+-----------------------------------------+---------------------------------+----------+
1100+
| :c:data:`PyExc_PythonFinalizationError` | :exc:`PythonFinalizationError` | |
1101+
+-----------------------------------------+---------------------------------+----------+
10991102
| :c:data:`PyExc_RecursionError` | :exc:`RecursionError` | |
11001103
+-----------------------------------------+---------------------------------+----------+
11011104
| :c:data:`PyExc_ReferenceError` | :exc:`ReferenceError` | |

‎Doc/c-api/long.rst‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,8 @@ distinguished from a number. Use :c:func:`PyErr_Occurred` to disambiguate.
452452
Currently, ``-1`` corresponds to
453453
``Py_ASNATIVEBYTES_NATIVE_ENDIAN | Py_ASNATIVEBYTES_UNSIGNED_BUFFER``.
454454
455+
.. c:namespace:: NULL
456+
455457
============================================= ======
456458
Flag Value
457459
============================================= ======

‎Doc/c-api/module.rst‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,8 @@ The available slot types are:
421421
422422
Specifies one of the following values:
423423
424+
.. c:namespace:: NULL
425+
424426
.. c:macro:: Py_MOD_GIL_USED
425427
426428
The module depends on the presence of the global interpreter lock (GIL),

‎Doc/conf.py‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,8 @@
132132
('c:func','vsnprintf'),
133133
# Standard C types
134134
('c:type','FILE'),
135+
('c:type','int8_t'),
136+
('c:type','int16_t'),
135137
('c:type','int32_t'),
136138
('c:type','int64_t'),
137139
('c:type','intmax_t'),
@@ -142,6 +144,8 @@
142144
('c:type','ssize_t'),
143145
('c:type','time_t'),
144146
('c:type','uint8_t'),
147+
('c:type','uint16_t'),
148+
('c:type','uint32_t'),
145149
('c:type','uint64_t'),
146150
('c:type','uintmax_t'),
147151
('c:type','uintptr_t'),
@@ -244,6 +248,7 @@
244248
('c:data','PyExc_OverflowError'),
245249
('c:data','PyExc_PermissionError'),
246250
('c:data','PyExc_ProcessLookupError'),
251+
('c:data','PyExc_PythonFinalizationError'),
247252
('c:data','PyExc_RecursionError'),
248253
('c:data','PyExc_ReferenceError'),
249254
('c:data','PyExc_RuntimeError'),

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp