Message84151
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) ..." |
|
Date |
User |
Action |
Args |
2009-03-25 08:45:11 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, jribbens, mark.dickinson, belopolsky, vstinner, jess.austin, fredrikj, webograph, tleeuwenburg@gmail.com |
2009-03-25 08:45:11 | amaury.forgeotdarc | set | messageid: <1237970711.0.0.965189378834.issue2706@psf.upfronthosting.co.za> |
2009-03-25 08:45:09 | amaury.forgeotdarc | link | issue2706 messages |
2009-03-25 08:45:08 | amaury.forgeotdarc | create | |
|