aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2024-03-08 14:55:33 +0100
committerNao Pross <np@0hm.ch>2024-03-08 14:55:33 +0100
commite4f48c09280bc084c81a82994d73656c17ba4ff4 (patch)
tree271a5274d4dacb149469632f4bb574eb892eaf93
parentImplement MatScalarMul.to_repr (diff)
downloadmdpoly-e4f48c09280bc084c81a82994d73656c17ba4ff4.tar.gz
mdpoly-e4f48c09280bc084c81a82994d73656c17ba4ff4.zip
Fix typos in docstring
-rw-r--r--mdpoly/abc.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/mdpoly/abc.py b/mdpoly/abc.py
index 0f51bbc..c59c3e1 100644
--- a/mdpoly/abc.py
+++ b/mdpoly/abc.py
@@ -210,10 +210,10 @@ class Expr(ABC):
Suppose ``x`` is of type *Expr*, then we would like to be able to do
things like ``x + 1``, so this function can be called in operator
- overloadings to for instance wrapp the 1 into a
- :py:class:`mdpoly.leaves.Const`. If ``obj`` is already of type *Expr*,
- this function does nothing. The arguments *args* and *kwargs* are
- forwarded to the constructor of *wrapper_type*.
+ overloadings to wrap the 1 into a :py:class:`mdpoly.leaves.Const`. If
+ ``obj`` is already of type *Expr*, this function does nothing. The
+ arguments *args* and *kwargs* are forwarded to the constructor of
+ *wrapper_type*.
"""
# Do not wrap if is alreay an expression
if isinstance(obj, Expr):