SIGN IN SIGN UP

[3.13] gh-144330: Initialize classmethod and staticmethod in new (GH-144498) (#144537)

[3.14] gh-144330: Initialize classmethod and staticmethod in new (GH-144498)

gh-144330: Initialize classmethod and staticmethod in new

Initialize cm_callable and sm_callable to None in classmethod and
staticmethod constructor.
(cherry picked from commit 160810de89477836f2fde7139f7ab0670399efff)

Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Aniket Singh Yadav <singhyadavaniket43@gmail.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
M
Miss Islington (bot) committed
b6c6cd632115a38b0a58aa03a90deff7fb2a1295
Parent: 7d04956
Committed by GitHub <noreply@github.com> on 2/6/2026, 9:48:55 AM