Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed some redundant code from the isinstance type narrowing code p… #8925

Merged
merged 1 commit into from
Sep 8, 2024

Conversation

erictraut
Copy link
Collaborator

…ath.

Copy link
Contributor

github-actions bot commented Sep 8, 2024

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

sympy (https://github.com/sympy/sympy)
-   /tmp/mypy_primer/projects/sympy/sympy/core/numbers.py:810:37 - error: Cannot access attribute "context" for class "int"
-     Attribute "context" is unknown (reportAttributeAccessIssue)
-   /tmp/mypy_primer/projects/sympy/sympy/core/numbers.py:811:23 - error: Cannot access attribute "_mpf_" for class "int"
-     Attribute "_mpf_" is unknown (reportAttributeAccessIssue)
- 68399 errors, 1229 warnings, 0 informations 
+ 68397 errors, 1229 warnings, 0 informations 

@erictraut erictraut merged commit ff60144 into main Sep 8, 2024
18 checks passed
@erictraut erictraut deleted the isInstance1 branch September 8, 2024 01:01
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