Closed tungol closed 1 day ago
According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅
I added a test case which is a simplified version of the two errors that mypy-primer found when I tried to change the definition of DynamicClassAttribute in typeshed.
According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅
This enables typeshed to define types.DynamicClassAttribute as a different class from builtins.property without breakage.
Would enable https://github.com/python/typeshed/pull/12762 see also https://github.com/python/mypy/pull/14133
Let me know if a test case is desired for this.