JD-Veiga added the comment:
What a shame. I forget that + is also a unary operator. That produces a new
logical line with correct identation though never executed. Sorry for the
inconvenience.⁶
--
___
Python tracker
<https://bugs.python.
New submission from JD-Veiga :
I was trying to return the concatenation of several lists from a function but,
inadvertently, forgot to surround the multi-line concatenation expression with
parentheses.
As a result, the function returns just the first operand and does not perform
the
JD-Veiga added the comment:
Well, it is the way that it has been defined in `decimal` package and in the
document that inspired this package (IBM's General Decimal Arithmetic
Specification, The General Decimal Arithmetic Specification:
http://speleotrove.com/decimal/decarith
New submission from JD-Veiga :
Hi,
I would like to propose a minor addition to `decimal` package documentation
page (https://docs.python.org/3/library/decimal.html). I think that we should
add a paragraph in `context.power(x, y, modulo=None)` stating that `Decimal(0)
** Decimal(0)` returns