From: Luke Kenneth Casson Leighton Date: Tue, 19 Mar 2019 04:39:39 +0000 (+0000) Subject: add comment to eq function X-Git-Tag: ls180-24jan2020~1636 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=270f365f7ed362cfa67db5996088b2db7b847abc;p=ieee754fpu.git add comment to eq function --- 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 = []