From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 26 Jun 2025 11:47:17 +0000 (+0200) Subject: [3.14] gh-135965: Delete duplicate word in isolating-extensions howto (GH-135964... X-Git-Tag: v3.14.0b4~92 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=19740b7a7a0cb503d7d593bf8d08408599c07033;p=thirdparty%2FPython%2Fcpython.git [3.14] gh-135965: Delete duplicate word in isolating-extensions howto (GH-135964) (#135977) 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> --- diff --git a/Doc/howto/isolating-extensions.rst b/Doc/howto/isolating-extensions.rst index b2109b150399..fbc426ba1d7d 100644 --- a/Doc/howto/isolating-extensions.rst +++ b/Doc/howto/isolating-extensions.rst @@ -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::