From b68c00d36fcc5cfc1223160bea847b53ef5a8ec3 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 3 Jul 2013 17:20:05 +0200 Subject: [PATCH] pytholite: fix kwargs handling --- migen/pytholite/compiler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: -- 2.30.2