Issue #27348: Merge exception formatting fix from 3.5 into 3.6

This commit is contained in:
Martin Panter 2016-09-22 10:33:21 +00:00
commit f3b0639417
4 changed files with 18 additions and 7 deletions

View file

@ -4156,7 +4156,7 @@ class Context(object):
>>> context.create_decimal_from_float(3.1415926535897932)
Traceback (most recent call last):
...
decimal.Inexact
decimal.Inexact: None
"""
d = Decimal.from_float(f) # An exact conversion