-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
Closed
Labels
3.13bugs and security fixesbugs and security fixestype-featureA feature request or enhancementA feature request or enhancement
Description
Feature or enhancement
functools.cmp_to_key() returns a custom callable. inspect.signature() returns generic raises a TypeError for the C implementation. The following PR makes it returning the same signature (<Signature (*args, **kwargs)><Signature (obj)>) for both Python and C implementations (currently it is returned for the Python implementation).
This issue is similar to #118285.
Linked PRs
Metadata
Metadata
Assignees
Labels
3.13bugs and security fixesbugs and security fixestype-featureA feature request or enhancementA feature request or enhancement