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``.