[Python-Dev] n.numbits: method or property?

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Nov 12 21:54:08 CET 2008

Antoine Pitrou wrote:

> As for numbits, I think it should be a method

It feels more method-like to me too, because it's something
derived from the int's value rather than an independent
piece of information.


More information about the Python-Dev mailing list