[Python-Dev] A Horrible Inconsistency (original) (raw)
Fredrik Lundh fredrik at pythonware.com
Fri May 26 17:56:58 CEST 2006
- Previous message: [Python-Dev] A Horrible Inconsistency
- Next message: [Python-Dev] A Horrible Inconsistency
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Sean Reifschneider wrote:
- Treat the negative as a reverser, so we get back (3, 2, 1). Then we could get: >>> print -123 321 Yay!
and while we're at it, let's fix this:
>>> 0.66 * (1, 2, 3)
(1, 2)
and maybe even this
>>> 0.5 * (1, 2, 3)
(1, 1)
but I guess the latter one might need a pronunciation.
- Previous message: [Python-Dev] A Horrible Inconsistency
- Next message: [Python-Dev] A Horrible Inconsistency
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]