Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Lib/_pydecimal.py
Original file line number Diff line number Diff line change
Expand Up @@ -1796,6 +1796,7 @@ def __round__(self, n=None):
Decimal('123.46')
>>> round(Decimal('123.456'), -2)
Decimal('1E+2')
>>> setcontext(ExtendedContext)
>>> round(Decimal('-Infinity'), 37)
Decimal('NaN')
>>> round(Decimal('sNaN123'), 0)
Expand Down
Loading