SIGN IN SIGN UP

[3.13] gh-137317: Fix inspect.signature() for class with wrapped __init__ or __new__ (GH-137862) (GH-138225)

Fixed several cases where __init__, __new__ or metaclass` __call__ is a descriptor
that returns a wrapped function.
(cherry picked from commit 025a2135eff848abf24f9dc52c81386eea9da397)

Co-authored-by: Ju4tCode <42488585+yanyongyu@users.noreply.github.com>
M
Miss Islington (bot) committed
f6536d48cd294f3dea6a4ecfd8148aa505dbb581
Parent: 502ca0d
Committed by GitHub <noreply@github.com> on 8/28/2025, 4:10:06 PM