8000 [3.14] gh-135965: Delete duplicate word in isolating-extensions howto… · python/cpython@19740b7 · GitHub
[go: up one dir, main page]

Skip to content
  • Commit 19740b7

    Browse files
    [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 ffb2a02) Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
    1 parent 03711fb commit 19740b7

    File tree

    1 file changed

    +1
    -1
    lines changed

    1 file changed

    +1
    -1
    lines changed

    Doc/howto/isolating-extensions.rst

    Lines changed: 1 addition & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -453,7 +453,7 @@ Avoiding ``PyObject_New``
    453453

    454454
    GC-tracked objects need to be allocated using GC-aware functions.
    455455

    456-
    If you use use :c:func:`PyObject_New` or :c:func:`PyObject_NewVar`:
    456+
    If you use :c:func:`PyObject_New` or :c:func:`PyObject_NewVar`:
    457457

    458458
    - Get and call type's :c:member:`~PyTypeObject.tp_alloc` slot, if possible.
    459459
    That is, replace ``TYPE *o = PyObject_New(TYPE, typeobj)`` with::

    0 commit comments

    Comments
     (0)
    0