aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--mdpoly/abc.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/mdpoly/abc.py b/mdpoly/abc.py
index 6ec1712..c503029 100644
--- a/mdpoly/abc.py
+++ b/mdpoly/abc.py
@@ -23,7 +23,10 @@ class Expr(Protocol):
@property
@abstractmethod
def shape(self) -> Shape:
- """ Computes the shape of the expression. """
+ """ Computes the shape of the expression. This method is also used to
+ check if the operation described by *Expr* can be perfomed with *left*
+ and *right*. If the shape cannot be computed because of an algebraic
+ problem raises :py:class:`mdpoly.errors.AlgebraicError`. """
def __repr__(self):
name = self.__class__.__qualname__