Commit 2f12996f authored by Philipp Arras's avatar Philipp Arras

Fix docstrings

parent 4bb2c350
Pipeline #83582 passed with stages
in 13 minutes and 39 seconds
......@@ -109,11 +109,12 @@ class Operator(metaclass=NiftyMeta):
def isOperator(self):
"""This method checks if an operator is an actual "pure" operator.
This method is useful because class:`~field.Field`,
class:`~multi_field.MultiField` and class:`Linearization` are
derived from class:`Operator` and a call like `isinstance(obj,
ift.Operator)` returns `True` even if it is an instance of one
of the above mentioned classes.
This method is useful because :class:`~nifty7.field.Field`,
:class:`~nifty7.multi_field.MultiField` and
:class:`~nifty7.linearization.Linearization` are derived from
:class:`~nifty7.operators.operator.Operator` and a call like
`isinstance(obj, ift.Operator)` returns `True` even if it is
an instance of one of the above mentioned classes.
Returns
-------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment