spoqa / tsukkomi

(This project is abandoned. We recommend you to use typeguard instead.)
https://github.com/agronholm/typeguard
MIT License
10 stars 4 forks source link

Consider classes are typing.Callable #7

Closed kanghyojun closed 8 years ago

kanghyojun commented 8 years ago

it is possible object is callable since callable() return True but it dosen't have __code__ attribute. so check_callable consider these objects are callable

dahlia commented 8 years ago

:100: