summaryrefslogtreecommitdiff
path: root/Doc/library/decimal.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/decimal.rst')
-rw-r--r--Doc/library/decimal.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/decimal.rst b/Doc/library/decimal.rst
index 38ad04177c..e194649e30 100644
--- a/Doc/library/decimal.rst
+++ b/Doc/library/decimal.rst
@@ -1357,6 +1357,9 @@ In addition to the three supplied contexts, new contexts can be created with the
The rounding mode of the context is used. Results are always correctly-rounded
in the Python version.
+ ``Decimal(0) ** Decimal(0)`` results in ``InvalidOperation``, and if ``InvalidOperation``
+ is not trapped, then results in ``Decimal('NaN')``.
+
.. versionchanged:: 3.3
The C module computes :meth:`power` in terms of the correctly-rounded
:meth:`exp` and :meth:`ln` functions. The result is well-defined but