[Python-Dev] trunc() (original) (raw)
Raymond Hettinger python at rcn.com
Sun Jan 27 19:54:10 CET 2008
- Previous message: [Python-Dev] trunc()
- Next message: [Python-Dev] trunc()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Then int() can be defined by deferring to trunc() -- as opposed to round().
That part is new and represents some progress. If I understand it correctly, it means that we won't have both int and trunc magic methods. That's a good thing.
Raymond
- Previous message: [Python-Dev] trunc()
- Next message: [Python-Dev] trunc()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]