j
k
j a
j l
2010/11/23 Antoine Pitrou <solipsis@pitrou.net>:
So, I would advocate bringing back the callable() builtin, which was easy to use, helpful and semantically sane.
What about: hasattr(obj, '__call__') ? -- Alex | twitter.com/alexconrad
Back to the thread
Back to the list