]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-135965: Delete duplicate word in isolating-extensions howto (#135964)
authorWeilin Du <108666168+LamentXU123@users.noreply.github.com>
Thu, 26 Jun 2025 11:41:41 +0000 (19:41 +0800)
committerGitHub <noreply@github.com>
Thu, 26 Jun 2025 11:41:41 +0000 (07:41 -0400)
Change use use to use.

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::