https://github.com/python/cpython/commit/19740b7a7a0cb503d7d593bf8d08408599c07033 commit: 19740b7a7a0cb503d7d593bf8d08408599c07033 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: terryjreedy <[email protected]> date: 2025-06-26T11:47:17Z summary:
[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 <[email protected]> files: M Doc/howto/isolating-extensions.rst diff --git a/Doc/howto/isolating-extensions.rst b/Doc/howto/isolating-extensions.rst index b2109b1503992b..fbc426ba1d7d9a 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:: _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: [email protected]
