| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
Sorry, something went wrong.
|
We should also change the return type in AbstractEventLoop. |
Sorry, something went wrong.
|
Correct, thanks. Fixed. |
Sorry, something went wrong.
|
Diff from mypy_primer, showing the effect of this PR on open source code: tornado (https://github.com/tornadoweb/tornado)
+ tornado/platform/asyncio.py:641: error: Return type "None" of "remove_reader" incompatible with return type "bool" in supertype "AbstractEventLoop"
+ tornado/platform/asyncio.py:645: error: Return type "None" of "remove_writer" incompatible with return type "bool" in supertype "AbstractEventLoop"
|
Sorry, something went wrong.
|
Tornado is slightly incompatible with the reference asyncio implementation, sorry. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
These methods return True if reader/writer was previously set, False otherwise.