]> granicus.if.org Git - python/commit
Some very minor changes to decimal.py in Python 2.6, aimed
authorMark Dickinson <dickinsm@gmail.com>
Sun, 4 May 2008 02:05:06 +0000 (02:05 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Sun, 4 May 2008 02:05:06 +0000 (02:05 +0000)
commit8aca9d032e7813da9a23fd0771c008aff5a5e62f
tree465d380f89fb740868bb82dc562ddbaae7dc28de
parent979395b7a8be422dfc9a081f1cd77260c6ea9aef
Some very minor changes to decimal.py in Python 2.6, aimed
at reducing the size of the diff between the 2.x decimal.py
and 3.x decimal.py and thereby making future merges easier:

- replace one instnace of an old-style raise statement
- define __div__ in terms of __truediv__ instead of the
  other way around
- make wording match on an exception message
Lib/decimal.py