]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Doc: C API: Move `tp_dealloc` paragraph to `tp_dealloc` section (#125737)
authorRichard Hansen <rhansen@rhansen.org>
Mon, 21 Oct 2024 16:46:37 +0000 (12:46 -0400)
committerGitHub <noreply@github.com>
Mon, 21 Oct 2024 16:46:37 +0000 (09:46 -0700)
commitd880c83ff7fb2e464bc4f469d74cc3fc3eca082c
tree94f0262e478eb4b19f4458422f97bef9152a69cf
parentd67bf2d89ab57f94608d7d2cf949dc4a8749485d
Doc: C API: Move `tp_dealloc` paragraph to `tp_dealloc` section (#125737)

It looks like commit 43cf44ddcce6b225f959ea2a53e4817244ca6054
(gh-31501) accidentally moved the paragraph to the `tp_finalize`
section when the intent was to move it to the `tp_dealloc` section
(according to the commit message).

Also:
  * Convert the paragraph to a warning.
  * Apply the appropriate font style to `tp_dealloc`.
  * Unlinkify the first mention of `tp_dealloc` since the paragraph is
    already in the `tp_dealloc` section.
Doc/c-api/typeobj.rst