Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Broaden allowed return type of write callable
If you don't care what the callable returns, it's better to use `object` so users can pass a callable that returns something else. For example, some `.write()` methods return the number of bytes written. Noticed this in python/mypy#12663.
- Loading branch information