8000 [3.14] gh-135965: Delete duplicate word in isolating-extensions howto (GH-135964) by miss-islington · Pull Request #135977 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[3.14] gh-135965: Delete duplicate word in isolating-extensions howto (GH-135964) #135977

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 26, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
gh-135965: Delete duplicate word in isolating-extensions howto (GH-13…
…5964)

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

Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
  • Loading branch information
LamentXU123 authored and miss-islington committed Jun 26, 2025
commit 54138276ac1bcb881ea1ce627a94a1d4f494130c
2 changes: 1 addition & 1 deletion Doc/howto/isolating-extensions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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::
Expand Down
Loading
0