You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reveal_type(print_) in the original example says it's a builtins.object. It looks like mypy cannot reconcile a function with its own partial application.
The text was updated successfully, but these errors were encountered:
Hm, this looked different enough from #1484 that I decided to report it as a separate issue, but now I've found #2779 which is similar enough to be a duplicate, and I see that it was closed in favor of #1484.
This feels like a bug to me:
mypy reports
I would expect it to accept the code.
mypy version is 0.770. git master (commit 273a865) reports the same error.
Note that mypy accepts slight variations, e.g.
is fine.
reveal_type(print_)
in the original example says it's abuiltins.object
. It looks like mypy cannot reconcile a function with its own partial application.The text was updated successfully, but these errors were encountered: