| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
Looks great!
Sorry, something went wrong.
|
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
Sorry, something went wrong.
I forgot to add this to yesterdays PR #13501
| Back | FazBrowse Home | New Git URL |
Fixes #4536
This use case is specified by PEP 544 but was not implemented. Only instances (not class objects) were allowed as protocol implementations. The PR is quite straightforward, essentially I just pass a class_obj flag everywhere to know whether we need or not to bind self in a method.
cc @JukkaL