gh-82062: Fix support of parameter defaults on methods in extension modules (GH-115270)
Now inspect.signature() supports references to the module globals in parameter defaults on methods in extension modules. Previously it was only supported in functions. The workaround was to specify the fully qualified name, including the module name.
S
Sergey B Kirpichev committed
9789440de387219bb7677fe0d66860aa8c9deb02
Parent: 81939da
Committed by GitHub <noreply@github.com>
on 5/2/2024, 2:44:33 PM