Message84151
| Author |
amaury.forgeotdarc |
| Recipients |
amaury.forgeotdarc, belopolsky, fredrikj, jess.austin, jribbens, mark.dickinson, tleeuwenburg@gmail.com, vstinner, webograph |
| Date |
2009年03月25日.08:45:07 |
| SpamBayes Score |
0.00033540395 |
| Marked as misclassified |
No |
| Message-id |
<1237970711.0.0.965189378834.issue2706@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Well, this already happen with other types:
>>> a = 100
>>> a //= 2.0
>>> a
50.0
>>> d = datetime.datetime.now()
>>> d -= datetime.datetime.now()
>>> d
datetime.timedelta(-1, 86391, 609000)
See http://docs.python.org/reference/datamodel.html#object.__iadd__
"... return the result (which could be, but does not have to be, self) ..." |
|