E
Erik Max Francis
Gonçalo Rodrigues said:Definitely yes. There are a few strange objects that are callable and
do not have a __call__.
I wouldn't call class objects all that strange .
Gonçalo Rodrigues said:Definitely yes. There are a few strange objects that are callable and
do not have a __call__.
I wouldn't call class objects all that strange .
Erik said:I wouldn't call class objects all that strange .
It is strange behaviour, though, considering
... pass
...['__delattr__', '__setattr__', '__repr__', '__call__', '__str__',
'__getattribute__', '__new__']
so according to C's type, it *should* have a __call__ method.
I'm not sure exactly what's going on here.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.