projects
/
nmutil.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95d78ac
)
add note about flatten function (one already exists in nmigen)
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Fri, 1 May 2020 13:32:21 +0000
(14:32 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Fri, 1 May 2020 13:32:21 +0000
(14:32 +0100)
src/nmutil/util.py
patch
|
blob
|
history
diff --git
a/src/nmutil/util.py
b/src/nmutil/util.py
index b6a8d196d1ac67d5b47b092fdf2c726659605d64..e0b09af164c27b6dd64c32e8cc6402ce0a647db4 100644
(file)
--- a/
src/nmutil/util.py
+++ b/
src/nmutil/util.py
@@
-1,6
+1,7
@@
from collections.abc import Iterable
-
+# XXX this already exists in nmigen._utils
+# see https://bugs.libre-soc.org/show_bug.cgi?id=297
def flatten(v):
if isinstance(v, Iterable):
for i in v: