]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] gh-135965: Delete duplicate word in isolating-extensions howto (GH-135964...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 26 Jun 2025 11:47:17 +0000 (13:47 +0200)
committerGitHub <noreply@github.com>
Thu, 26 Jun 2025 11:47:17 +0000 (11:47 +0000)
gh-135965: Delete duplicate word in isolating-extensions howto (GH-135964)

Change use use to use.
(cherry picked from commit ffb2a02f98d904505c8a82d8540c36dee4c67eed)

Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
Doc/howto/isolating-extensions.rst

index b2109b1503992be5951bb61427c14569facdaafa..fbc426ba1d7d9afcac3e3b54460be725cd5e8c3b 100644 (file)
@@ -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::