]> granicus.if.org Git - python/commit
1) Fix comment.
authorStefan Krah <skrah@bytereef.org>
Sat, 7 Apr 2012 13:57:59 +0000 (15:57 +0200)
committerStefan Krah <skrah@bytereef.org>
Sat, 7 Apr 2012 13:57:59 +0000 (15:57 +0200)
commitdc36efa3680e9aaffcffb018c43359c9a75b6c61
treed9920dc2b050b7a54be9876c634460667ea25424
parente3c3f24736ac26369c9562a8823a19a7420f59db
1) Fix comment.

2) Assert that the source operand is not special. Prevent resulting assert
   failure (harmless) by initializing flags before calling mpd_qshiftr_inplace.

3) Save a couple of instructions (mpd_zerocoeff already sets digits and len).
   Reorder initialization to match the order in the mpd_t struct.
Modules/_decimal/libmpdec/mpdecimal.c