Skip to content

Commit 2c3fe5e

Browse files
authored
gh-87961: Remove outdated notes from functions that aren't in the Limited API (GH-93581)
* Remove outdated notes from functions that aren't in the Limited API Nowadays everything that *is* in the Limited API has a note added automatically. These notes could mislead people to think that these functions could never be added to the limited API. Remove them. * Also remove forgotten note on tp_vectorcall_offset not being finalized
1 parent 243ed54 commit 2c3fe5e

File tree

3 files changed

+0
-26
lines changed

3 files changed

+0
-26
lines changed

Doc/c-api/call.rst

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,6 @@ Vectorcall Support API
144144
However, the function ``PyVectorcall_NARGS`` should be used to allow
145145
for future extensions.
146146
147-
This function is not part of the :ref:`limited API <stable>`.
148-
149147
.. versionadded:: 3.8
150148
151149
.. c:function:: vectorcallfunc PyVectorcall_Function(PyObject *op)
@@ -158,8 +156,6 @@ Vectorcall Support API
158156
This is mostly useful to check whether or not *op* supports vectorcall,
159157
which can be done by checking ``PyVectorcall_Function(op) != NULL``.
160158
161-
This function is not part of the :ref:`limited API <stable>`.
162-
163159
.. versionadded:: 3.8
164160
165161
.. c:function:: PyObject* PyVectorcall_Call(PyObject *callable, PyObject *tuple, PyObject *dict)
@@ -172,8 +168,6 @@ Vectorcall Support API
172168
It does not check the :const:`Py_TPFLAGS_HAVE_VECTORCALL` flag
173169
and it does not fall back to ``tp_call``.
174170
175-
This function is not part of the :ref:`limited API <stable>`.
176-
177171
.. versionadded:: 3.8
178172
179173
@@ -256,8 +250,6 @@ please see individual documentation for details.
256250
Return the result of the call on success, or raise an exception and return
257251
*NULL* on failure.
258252
259-
This function is not part of the :ref:`limited API <stable>`.
260-
261253
.. versionadded:: 3.9
262254
263255
@@ -343,8 +335,6 @@ please see individual documentation for details.
343335
Return the result of the call on success, or raise an exception and return
344336
*NULL* on failure.
345337
346-
This function is not part of the :ref:`limited API <stable>`.
347-
348338
.. versionadded:: 3.9
349339
350340
@@ -357,8 +347,6 @@ please see individual documentation for details.
357347
Return the result of the call on success, or raise an exception and return
358348
*NULL* on failure.
359349
360-
This function is not part of the :ref:`limited API <stable>`.
361-
362350
.. versionadded:: 3.9
363351
364352
@@ -372,8 +360,6 @@ please see individual documentation for details.
372360
Return the result of the call on success, or raise an exception and return
373361
*NULL* on failure.
374362
375-
This function is not part of the :ref:`limited API <stable>`.
376-
377363
.. versionadded:: 3.9
378364
379365
.. c:function:: PyObject* PyObject_VectorcallDict(PyObject *callable, PyObject *const *args, size_t nargsf, PyObject *kwdict)
@@ -388,8 +374,6 @@ please see individual documentation for details.
388374
already has a dictionary ready to use for the keyword arguments,
389375
but not a tuple for the positional arguments.
390376
391-
This function is not part of the :ref:`limited API <stable>`.
392-
393377
.. versionadded:: 3.9
394378
395379
.. c:function:: PyObject* PyObject_VectorcallMethod(PyObject *name, PyObject *const *args, size_t nargsf, PyObject *kwnames)
@@ -410,8 +394,6 @@ please see individual documentation for details.
410394
Return the result of the call on success, or raise an exception and return
411395
*NULL* on failure.
412396
413-
This function is not part of the :ref:`limited API <stable>`.
414-
415397
.. versionadded:: 3.9
416398
417399

Doc/c-api/structures.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,8 +321,6 @@ There are these calling conventions:
321321
or possibly ``NULL`` if there are no keywords. The values of the keyword
322322
arguments are stored in the *args* array, after the positional arguments.
323323
324-
This is not part of the :ref:`limited API <stable>`.
325-
326324
.. versionadded:: 3.7
327325
328326

Doc/c-api/typeobj.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -727,12 +727,6 @@ and :c:type:`PyType_Type` effectively act as defaults.)
727727
When a user sets :attr:`__call__` in Python code, only *tp_call* is updated,
728728
likely making it inconsistent with the vectorcall function.
729729

730-
.. note::
731-
732-
The semantics of the ``tp_vectorcall_offset`` slot are provisional and
733-
expected to be finalized in Python 3.9.
734-
If you use vectorcall, plan for updating your code for Python 3.9.
735-
736730
.. versionchanged:: 3.8
737731

738732
Before version 3.8, this slot was named ``tp_print``.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy