[Python-ideas] staticmethod and classmethod should be callable
Jeroen Demeyer
J.Demeyer at UGent.be
Thu Jun 21 03:45:08 EDT 2018
On 2018-06-20 19:33, Serhiy Storchaka wrote:
> 20.06.18 12:56, Jeroen Demeyer пише:
>> Are there any reasons to *not* make staticmethod and classmethod callable?
>
> There were no reasons to make staticmethod and classmethod callable.
You have to compare the advantages of making them callable vs. the
advantages of *not* making them callable.
I think that consistency *is* good to have, so I consider that one
reason to make them callable. Are there any reasons for *not* making
them callable?
More information about the Python-ideas
mailing list