Message206371
| Author |
pitrou |
| Recipients |
Arfrever, eric.smith, ethan.furman, gvanrossum, mark.dickinson, pitrou, rhettinger, serhiy.storchaka, skrah, vstinner |
| Date |
2013年12月16日.21:26:26 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1387229184.2303.3.camel@fsol> |
| In-reply-to |
<1387228475.76.0.486748687513.issue19995@psf.upfronthosting.co.za> |
| Content |
> In other words
>
> - if %d or %u is specified, try __int__, then __index__
> (according to the docs, u is obsolete and identical to d)
Again, I don't think trying __index__ is useful.
> - if %i, %o, %x, %X, or %c is specified, try only __index__
I think everything yielding a decimal output should work with floats
(i.e. %i too). |
|