Behavior of staticmethod in Python 3

Antoon Pardon antoon.pardon at rece.vub.ac.be
Sun Nov 24 10:55:16 EST 2013


Op 24-11-13 11:43, Peter Otten schreef:
> Antoon Pardon wrote:
> 
>> Foo.foo() being legal and Foo.foo not being callable is IMO a bug in
>> python.
> 
> Foo.foo() is legal, and Foo.foo is callable. 

Indeed, I had a kink in my brain which made it difficult to see
where I was going wrong myself. Sorry about that.

-- 
Antoon Pardon




More information about the Python-list mailing list