Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

pytholite: fix kwargs handling

  • Loading branch information...
commit b68c00d36fcc5cfc1223160bea847b53ef5a8ec3 1 parent 4096a78
Sébastien Bourdeauducq authored July 03, 2013

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  migen/pytholite/compiler.py
4  migen/pytholite/compiler.py
@@ -45,8 +45,8 @@ def _process_function_args(symdict, function_def, args, kwargs):
45 45
 		pass
46 46
 	vararg = tuple(current_argvalue)
47 47
 
48  
-	kwarg = OrderedDict()
49  
-	for k, v in kwarg.items():
  48
+	kwarg = dict()
  49
+	for k, v in kwargs.items():
50 50
 		if k in ad_positional:
51 51
 			ad_positional[k] = v
52 52
 		elif k in ad_kwonly:

0 notes on commit b68c00d

Please sign in to comment.
Something went wrong with that request. Please try again.