From 22bb7e4a3ec7d5f6139ed0bd427609af33ddafb3 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 1 May 2020 14:32:21 +0100 Subject: [PATCH] add note about flatten function (one already exists in nmigen) --- src/nmutil/util.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/nmutil/util.py b/src/nmutil/util.py index b6a8d19..e0b09af 100644 --- 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: -- 2.30.2