[Python-Dev] why different between staticmethod and classmethod on non-callable object? (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Sep 2 00:36:18 CEST 2009


Benjamin Peterson wrote:

It depends on whether you're keeping the "callable" object around or not. Somebody could add a call method later.

Good point. Removing the check sounds like the right thing to do, then.

-- Greg



More information about the Python-Dev mailing list