From 270f365f7ed362cfa67db5996088b2db7b847abc Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Tue, 19 Mar 2019 04:39:39 +0000 Subject: [PATCH] add comment to eq function --- src/add/example_buf_pipe.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/add/example_buf_pipe.py b/src/add/example_buf_pipe.py index 15d368c2..60269c94 100644 --- a/src/add/example_buf_pipe.py +++ b/src/add/example_buf_pipe.py @@ -99,6 +99,10 @@ class NextControl: def eq(o, i): + """ makes signals equal: a helper routine which identifies if it is being + passsed a list (or tuple) of objects, and calls the objects' eq + function. + """ if not isinstance(o, Sequence): o, i = [o], [i] res = [] -- 2.30.2