Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@guoci
Copy link
Contributor

@guoci guoci commented Nov 15, 2025

__new__ already has the type information

`__new__` already has the type information
@github-actions
Copy link
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

nionutils (https://github.com/nion-software/nionutils)
+ nion/utils/Registry.py:25: error: Too many arguments for "__init__" of "object"  [call-arg]

spack (https://github.com/spack/spack)
+ lib/spack/spack/directives_meta.py:81: error: Too many arguments for "__init__" of "object"  [call-arg]

beartype (https://github.com/beartype/beartype)
+ beartype/vale/_is/_valeisabc.py:32: error: Too many arguments for "__init__" of "object"  [call-arg]

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.

1 participant