Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
callable()
builtin function over isinstance(..., Callable)
This is slightly more compact, but the main motivation is to work around the following mypy bug: python/mypy#14928
- Loading branch information