Skip to content

typo in /doc/howto/isolating-extensions #135965

Description

@LamentXU123

line 456:

If you use use :c:func:`PyObject_New` or :c:func:`PyObject_NewVar`:

it should be like:

If you use :c:func:`PyObject_New` or :c:func:`PyObject_NewVar`:

similar issue to #135958 and #135956. I'm sure this typo is not mentioned before.

Linked PRs

Activity

  1. StanFromIreland commented on Jun 26, 2025

    @StanFromIreland
    Member

    @LamentXU123 In general, we don't need to open issues for typos, just a PR is fine.

  2. StanFromIreland commented on Jun 26, 2025

    @StanFromIreland
  3. LamentXU123 commented on Jun 26, 2025

    @LamentXU123
    ContributorAuthor

    Edit:Missed open PR

    Grepping I see we have a few other occurrences.

    ./howto/isolating-extensions.rst:If you use use :c:func:`PyObject_New` or :c:func:`PyObject_NewVar`:
    ./c-api/long.rst:   If the returned value is greater than than *n_bytes*, the value was
    ./c-api/init.rst:   an :term:`attached thread state` for the the interpreter.
    ./whatsnew/2.2.rst:   # A recursive generator that generates Tree leaves in in-order.
    ./whatsnew/2.3.rst:   # A recursive generator that generates Tree leaves in in-order.
    ./whatsnew/3.13.rst:    to be removed in in Python 3.15.
    ./library/faulthandler.rst:instead of the stack, even if the the operating system supports dumping stacks.
    ./library/threading.rst:      If an attempt is made to join a running daemonic thread in in late stages
    ./library/email.header.rst:       This function exists for for backwards compatibility only. For
    ./library/email.header.rst:       This function exists for for backwards compatibility only, and is
    ./library/mmap.rst:      Resizing a map created with with *trackfd* set to ``False``,
    ./library/ctypes.rst:      that should be be merged into a containing structure or union.
    ./library/pathlib.rst:      is a directory or other other non-file, or if it doesn't exist.
    ./extending/newtypes_tutorial.rst:   By assigning to the the ``tp_dealloc`` slot of a type, we declare
    ./using/cmdline.rst:     to, by default, use a copy of context of of the caller of
    ./using/cmdline.rst:   by default, use a copy of context of of the caller of ``Thread.start()``
    

    mostly solved in previous PRs

  4. StanFromIreland commented on Jun 26, 2025

    @StanFromIreland
    Member

    Correct!

    That is why I marked it as resolved:-)

    And added the opening line:

    Edit:Missed open PR

  5. added a commit that references this issue on Jun 26, 2025
  6. added 2 commits that reference this issue on Jun 26, 2025
  7. added 2 commits that reference this issue on Jun 26, 2025
  8. added a commit that references this issue on Jul 11, 2025
  9. added a commit that references this issue on Jul 12, 2025
  10. added a commit that references this issue on Aug 4, 2025
  11. added a commit that references this issue on Aug 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dir

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions