summaryrefslogtreecommitdiffstats
path: root/Lib/decimal.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2004-07-07 20:54:48 (GMT)
committerTim Peters <tim.peters@gmail.com>2004-07-07 20:54:48 (GMT)
commit4e0e1b6a540e664e89739456db4c706701bf062b (patch)
tree6a144e54fe6f0055d6e412181df0bbad458f8b10 /Lib/decimal.py
parentb7e898a0e2a8d4077cbabeada039200fde5ada60 (diff)
downloadcpython-4e0e1b6a540e664e89739456db4c706701bf062b.zip
cpython-4e0e1b6a540e664e89739456db4c706701bf062b.tar.gz
cpython-4e0e1b6a540e664e89739456db4c706701bf062b.tar.bz2
Whitespace normalization.
Diffstat (limited to 'Lib/decimal.py')
-rw-r--r--Lib/decimal.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/decimal.py b/Lib/decimal.py
index 1d13767..93a5e34 100644
--- a/Lib/decimal.py
+++ b/Lib/decimal.py
@@ -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