use of iteritems to retrieve key and value

This commit is contained in:
Amirouche Boubekki 2012-09-30 21:48:58 +02:00
parent 528120c550
commit 65d3d9bc12
1 changed files with 1 additions and 2 deletions

View File

@ -728,9 +728,8 @@ cdef class JavaMultipleMethod(object):
else:
methods = self.static_methods
for signature in methods:
for signature, jm in methods.iteritems():
sign_ret, sign_args = parse_definition(signature)
jm = methods[signature]
if jm.is_varargs:
args_ = args[:len(sign_args) - 1] + (args[len(sign_args) - 1:],)
else: