Skip to content

Conversation

tungol
Copy link
Contributor

@tungol tungol commented Aug 26, 2025

Fixes #19732

This is a simple check to point users in the right direction when they get errors because their class uses __new__ but they wrote stubs for __init__. I don't feel strongly about the exact wording used here. I also considered "Maybe you meant to define new instead of init?".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

stubtest: incorrect runtime signature of cython __cinit__ methods
1 participant