From 29d1807f56453ee6c8b3feee45a77116019143de Mon Sep 17 00:00:00 2001 From: John Gerrard Holland Date: Mon, 4 Dec 2023 08:34:31 -0500 Subject: [PATCH] docs: fix comments in state documentation --- src/autora/state.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/autora/state.py b/src/autora/state.py index 99740384..117b0ca9 100644 --- a/src/autora/state.py +++ b/src/autora/state.py @@ -1309,7 +1309,7 @@ def combined_functions_on_state( >>> s_double U(conditions=[1, 2, 1, 2]) - # We can also pass parameters to the functions: + We can also pass parameters to the functions: >>> def multiply(conditions, multiplier): ... return [el * multiplier for el in conditions] >>> double_and_triple = combined_functions_on_state( @@ -1322,7 +1322,7 @@ def combined_functions_on_state( >>> s_double_triple U(conditions=[2, 4, 3, 6]) - # If the functions return a Delta object, we don't need to provide an output argument + If the functions return a Delta object, we don't need to provide an output argument: >>> def decrement(conditions, dec): ... return Delta(conditions=[el-dec for el in conditions]) >>> def increment(conditions, inc):