From d0fbe93d4de3b38b40034b4c1743399f37393a59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Chapoton?= Date: Thu, 8 Sep 2022 11:28:56 +0200 Subject: [PATCH] tweak doc again --- src/sage/categories/monoids.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sage/categories/monoids.py b/src/sage/categories/monoids.py index 541e867074f..93638b04078 100644 --- a/src/sage/categories/monoids.py +++ b/src/sage/categories/monoids.py @@ -356,7 +356,7 @@ def powers(self, n): def __invert__(self): r""" - Return the inverse of ``self``. + Return the multiplicative inverse of ``self``. There is no default implementation, to avoid conflict with the default implementation of ``_div_``. @@ -372,7 +372,7 @@ def __invert__(self): def inverse(self): """ - Return the inverse of ``self``. + Return the multiplicative inverse of ``self``. This is an alias for inversion, which can also be invoked by ``~x`` for an element ``x``.