projects
/
ieee754fpu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f201e4d
)
add comment to eq function
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Tue, 19 Mar 2019 04:39:39 +0000
(
04:39
+0000)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Tue, 19 Mar 2019 04:39:39 +0000
(
04:39
+0000)
src/add/example_buf_pipe.py
patch
|
blob
|
history
diff --git
a/src/add/example_buf_pipe.py
b/src/add/example_buf_pipe.py
index 15d368c291d5a737c1b73c5a53bfa82c00ce09bb..60269c94d19c613e1786887a4916c18222c96903 100644
(file)
--- 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 = []