Skip to content

Commit 0fefa60

Browse files
author
Brian Welch
committed
Add exception doc to tt_compose function
1 parent 53fa021 commit 0fefa60

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tt/transformations/utils.py

+5
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,11 @@ def tt_compose(*fns):
449449
BooleanExpression>` object when called.
450450
:rtype: :data:`Callable <python:typing.Callable>`
451451
452+
:raises InvalidArgumentTypeError: If a modifier is ordered incorrectly or
453+
a non-callable function is included in the sequence.
454+
:raises InvalidArgumentValueError: If an insufficient number of arguments
455+
is provided (must be at least 2).
456+
452457
Let's say we wanted a transformation that would first convert all operators
453458
in our expression to their equivalent primitive form, and then apply De
454459
Morgan's Law twice::

0 commit comments

Comments
 (0)