[Python-Dev] n.numbits: method or property? (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Wed Nov 12 21:54:08 CET 2008
- Previous message: [Python-Dev] n.numbits: method or property?
- Next message: [Python-Dev] n.numbits: method or property?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
-- Greg
- Previous message: [Python-Dev] n.numbits: method or property?
- Next message: [Python-Dev] n.numbits: method or property?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]