diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-07-28 01:11:04 +0000 |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-07-28 01:11:04 +0000 |
commit | eb9957065acaafbf3d8ebee4770ecb13ea0c07c0 (patch) | |
tree | a5caf4a201daa6a5094eb18f605cb2b4b7bc91fd /Objects/longobject.c | |
parent | eac67be948e972dc12b7b4abfa83b09becf6422c (diff) | |
download | cpython-git-eb9957065acaafbf3d8ebee4770ecb13ea0c07c0.tar.gz |
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 f68d15e615..cd04e361d4 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; |