mirror of
https://github.com/python/cpython.git
synced 2025-08-30 13:38:43 +00:00
Patch #508038: Do not use a type as a variable name.
This commit is contained in:
parent
b2c92f44d4
commit
a5854c24a2
1 changed files with 3 additions and 3 deletions
|
@ -883,10 +883,10 @@ long_format(PyObject *aa, int base, int addL)
|
|||
accumbits += SHIFT;
|
||||
assert(accumbits >= basebits);
|
||||
do {
|
||||
char digit = (char)(accum & (base - 1));
|
||||
digit += (digit < 10) ? '0' : 'A'-10;
|
||||
char cdigit = (char)(accum & (base - 1));
|
||||
cdigit += (cdigit < 10) ? '0' : 'A'-10;
|
||||
assert(p > PyString_AS_STRING(str));
|
||||
*--p = digit;
|
||||
*--p = cdigit;
|
||||
accumbits -= basebits;
|
||||
accum >>= basebits;
|
||||
} while (i < size_a-1 ? accumbits >= basebits :
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue