Suggestion of __init_subclass__ should not require classmethod decorator #972
Labels
bug
Something isn't working
fixed in next version (main)
A fix has been implemented and will appear in an upcoming version
Environment data
Expected behaviour
Suggestion results when writing methods should include
__init_subclass__
. The@classmethod
decorator is implicitly applied and thus not required. See example int PEP 487 and the explanation.Actual behaviour
__init_subclass__
is only suggested if the@classmethod
decorator is used.Code Snippet / Additional information
The text was updated successfully, but these errors were encountered: