TypeErrors are thrown in a wide variety of situations, most of which have nothing to do with calling an uncallable object. The appropriate test is to use the built-in callable() function, which actually tests if the object is callable. |
||
|---|---|---|
| .. | ||
| default | ||
| __init__.py | ||
| cmdhandler.py | ||
| cmdparser.py | ||
| cmdset.py | ||
| cmdsethandler.py | ||
| command.py | ||
| tests.py | ||