Consider making staticmethod
and classmethod
generic
#132457
Labels
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
topic-typing
type-feature
A feature request or enhancement
Feature or enhancement
Typeshed defines
staticmethod
andclassmethod
as generics:It makes sense, because they are very callable-like. However:
We should consider making them generics in runtime as well.
@AlexWaygood @JelleZijlstra thoughts?
If you agree, I have a PR ready.
Linked PRs
The text was updated successfully, but these errors were encountered: