diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-07-28 01:11:04 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-07-28 01:11:04 (GMT) |
commit | a850ef698e55d07173051747e96207496c6f1bdb (patch) | |
tree | 4044b1fb278313ef2b95e05371d9a9ed188feb35 /Objects/longobject.c | |
parent | e2eacc02bcc9f8977f5f3cea6243f236c508b772 (diff) | |
download | cpython-a850ef698e55d07173051747e96207496c6f1bdb.zip cpython-a850ef698e55d07173051747e96207496c6f1bdb.tar.gz cpython-a850ef698e55d07173051747e96207496c6f1bdb.tar.bz2 |
Issue #27626: Spelling fixes in docs, comments and internal names
Based on patch by Ville Skyttä.
Diffstat (limited to 'Objects/longobject.c')
-rw-r--r-- | Objects/longobject.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/longobject.c b/Objects/longobject.c index 6427f42..ead8f28 100644 --- a/Objects/longobject.c +++ b/Objects/longobject.c @@ -556,10 +556,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; |