You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Documentation of "decimal" library - Context.logical_??? methods
There is a understatement in docstring of decimal.Context.logical_xxx methods. All arguments should be instances of decimal.Decimal, but consisting only of binary digits only (i.e. "0" and "1"). If the number is not an integer or consists of digits other than 0 and 1, an exception is thrown:
Documentation of "decimal" library - Context.logical_??? methods
There is a understatement in docstring of
decimal.Context.logical_xxxmethods. All arguments should be instances ofdecimal.Decimal, but consisting only of binary digits only (i.e. "0" and "1"). If the number is not an integer or consists of digits other than 0 and 1, an exception is thrown:I think it would be good to describe this behavior explicitly.
Linked PRs