commit | 82e723c85262645eaa0521114066ec0f202e433e | [log] [tgz] |
---|---|---|
author | Jon Dufresne <jon.dufresne@gmail.com> | Thu Jan 11 18:08:59 2018 -0800 |
committer | Jon Dufresne <jon.dufresne@gmail.com> | Thu Jan 11 18:08:59 2018 -0800 |
tree | fee357e0b695818014c1bca46d9ddce390204aba | |
parent | 13622bcdb14f28266529473c16dab2dfb13f4245 [diff] |
Prefer builtin callable() over isinstance(..., collections.Callable) Available on all supported Python versions. https://docs.python.org/3/library/functions.html#callable