From: Sebastien Bourdeauducq Date: Wed, 3 Jul 2013 15:20:05 +0000 (+0200) Subject: pytholite: fix kwargs handling X-Git-Tag: 24jan2021_ls180~2099^2~536 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b68c00d36fcc5cfc1223160bea847b53ef5a8ec3;p=litex.git pytholite: fix kwargs handling --- diff --git a/migen/pytholite/compiler.py b/migen/pytholite/compiler.py index 0df85391..bfe1f827 100644 --- a/migen/pytholite/compiler.py +++ b/migen/pytholite/compiler.py @@ -45,8 +45,8 @@ def _process_function_args(symdict, function_def, args, kwargs): pass vararg = tuple(current_argvalue) - kwarg = OrderedDict() - for k, v in kwarg.items(): + kwarg = dict() + for k, v in kwargs.items(): if k in ad_positional: ad_positional[k] = v elif k in ad_kwonly: