mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Issue #27626: Spelling fixes in docs, comments and internal names
Based on patch by Ville Skyttä.
This commit is contained in:
parent
eac67be948
commit
eb9957065a
33 changed files with 48 additions and 48 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue