summaryrefslogtreecommitdiff
path: root/Objects/longobject.c
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-07-28 01:30:58 +0000
committerMartin Panter <vadmium+py@gmail.com>2016-07-28 01:30:58 +0000
commit8bde9111157e0eb994159c1506b1cec86298f810 (patch)
tree27d5ea90712d9eee3e678804ef581bac50ff9ba2 /Objects/longobject.c
parent4b53359090b7b3cfad128e40083f563f7c1900e4 (diff)
parenteb9957065acaafbf3d8ebee4770ecb13ea0c07c0 (diff)
downloadcpython-git-8bde9111157e0eb994159c1506b1cec86298f810.tar.gz
Issue #27626: Merge spelling fixes from 3.5
Diffstat (limited to 'Objects/longobject.c')
-rw-r--r--Objects/longobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/longobject.c b/Objects/longobject.c
index 473254508f..d49594d129 100644
--- a/Objects/longobject.c
+++ b/Objects/longobject.c
@@ -775,10 +775,10 @@ _PyLong_FromByteArray(const unsigned char* bytes, size_t n,
size_t i;
const unsigned char* p = pendbyte;
const int pincr = -incr; /* search MSB to LSB */
- const unsigned char insignficant = is_signed ? 0xff : 0x00;
+ const unsigned char insignificant = is_signed ? 0xff : 0x00;
for (i = 0; i < n; ++i, p += pincr) {
- if (*p != insignficant)
+ if (*p != insignificant)
break;
}
numsignificantbytes = n - i;