/rev/1deee6ab6af3
changeset: 1271:1deee6ab6af3
user: Marcel Keller <[email protected]>
date: Thu Oct 08 15:17:10 2009 +0200
summary: Give keyword argument directly.
diffstat:
viff/runtime.py | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diffs (13 lines):
diff -r f626a6dfef43 -r 1deee6ab6af3 viff/runtime.py
--- a/viff/runtime.py Thu Oct 08 14:28:12 2009 +0200
+++ b/viff/runtime.py Thu Oct 08 15:17:10 2009 +0200
@@ -831,8 +831,7 @@
while items < len(program_counters):
self.increment_pc()
self.fork_pc()
- item_count, result = func(*args,
- **{"quantity": len(program_counters)
- items})
+ item_count, result = func(quantity=len(program_counters) -
items, *args)
items += item_count
results.append(result)
self.unfork_pc()
_______________________________________________
viff-commits mailing list
[email protected]
http://lists.viff.dk/listinfo.cgi/viff-commits-viff.dk