[Python-checkins] cpython: Cosmetic change: initialize digits to 1 (redundant).

stefan.krah python-checkins at python.org
Wed Apr 18 19:02:23 CEST 2012


http://hg.python.org/cpython/rev/2433580ae8f3
changeset: 76402:2433580ae8f3
user: Stefan Krah <skrah at bytereef.org>
date: Wed Apr 18 18:45:22 2012 +0200
summary:
 Cosmetic change: initialize digits to 1 (redundant).
files:
 Modules/_decimal/libmpdec/mpdecimal.c | 2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Modules/_decimal/libmpdec/mpdecimal.c b/Modules/_decimal/libmpdec/mpdecimal.c
--- a/Modules/_decimal/libmpdec/mpdecimal.c
+++ b/Modules/_decimal/libmpdec/mpdecimal.c
@@ -3089,7 +3089,7 @@
 {
 mpd_t *big, *small;
 MPD_NEW_STATIC(big_aligned,0,0,0,0);
- MPD_NEW_CONST(tiny,0,0,0,1,1,1);
+ MPD_NEW_CONST(tiny,0,0,1,1,1,1);
 mpd_uint_t carry;
 mpd_ssize_t newsize, shift;
 mpd_ssize_t exp, i;
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /