mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
gh-135965: Delete duplicate word in isolating-extensions howto (#135964)
Change use use to use.
This commit is contained in:
parent
6be17baeb5
commit
ffb2a02f98
1 changed files with 1 additions and 1 deletions
|
@ -453,7 +453,7 @@ Avoiding ``PyObject_New``
|
|||
|
||||
GC-tracked objects need to be allocated using GC-aware functions.
|
||||
|
||||
If you use use :c:func:`PyObject_New` or :c:func:`PyObject_NewVar`:
|
||||
If you use :c:func:`PyObject_New` or :c:func:`PyObject_NewVar`:
|
||||
|
||||
- Get and call type's :c:member:`~PyTypeObject.tp_alloc` slot, if possible.
|
||||
That is, replace ``TYPE *o = PyObject_New(TYPE, typeobj)`` with::
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue