A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2009-September/091546.html below:

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

[Python-Dev] why different between staticmethod and classmethod on non-callable object? [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
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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4