mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Whitespace normalization.
This commit is contained in:
parent
b7e898a0e2
commit
4e0e1b6a54
32 changed files with 144 additions and 166 deletions
|
@ -509,10 +509,10 @@ class Decimal(object):
|
|||
return
|
||||
|
||||
if isinstance(value, Decimal):
|
||||
self._exp = value._exp
|
||||
self._sign = value._sign
|
||||
self._int = value._int
|
||||
return
|
||||
self._exp = value._exp
|
||||
self._sign = value._sign
|
||||
self._int = value._int
|
||||
return
|
||||
|
||||
raise TypeError("Can't convert %r" % value)
|
||||
|
||||
|
@ -2817,7 +2817,7 @@ class _WorkRep(object):
|
|||
carry = 1
|
||||
selfint[x] += 10
|
||||
else:
|
||||
carry = 0
|
||||
carry = 0
|
||||
if carry:
|
||||
selfint[x+1] -= 1
|
||||
last = len(selfint)-1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue