[Python-Dev] why different between staticmethod and classmethod on non-callable object?
Greg Ewing
greg.ewing at canterbury.ac.nz
Wed Sep 2 00:36:18 CEST 2009
More information about the Python-Dev mailing list
Wed Sep 2 00:36:18 CEST 2009
- Previous message: [Python-Dev] why different between staticmethod and classmethod on non-callable object?
- Next message: [Python-Dev] why different between staticmethod and classmethod on non-callable object?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] why different between staticmethod and classmethod on non-callable object?
- Next message: [Python-Dev] why different between staticmethod and classmethod on non-callable object?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list