add note about flatten function (one already exists in nmigen)
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 1 May 2020 13:32:21 +0000 (14:32 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 1 May 2020 13:32:21 +0000 (14:32 +0100)
src/nmutil/util.py

index b6a8d196d1ac67d5b47b092fdf2c726659605d64..e0b09af164c27b6dd64c32e8cc6402ce0a647db4 100644 (file)
@@ -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: