[issue13258] replace hasattr(obj, '__call__') with callable(obj)

Florent Xicluna report at bugs.python.org
Mon Oct 24 21:48:21 CEST 2011


Florent Xicluna <florent.xicluna at gmail.com> added the comment:

Proposed patch.

----------
keywords: +patch
Added file: http://bugs.python.org/file23510/issue13258_callable.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13258>
_______________________________________


More information about the Python-bugs-list mailing list