From: Luke Kenneth Casson Leighton Date: Fri, 1 May 2020 13:32:21 +0000 (+0100) Subject: add note about flatten function (one already exists in nmigen) X-Git-Tag: 24jan2021_ls180~65 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=22bb7e4a3ec7d5f6139ed0bd427609af33ddafb3;p=nmutil.git add note about flatten function (one already exists in nmigen) --- 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: