1. Pypy
  2. Untitled project
  3. pypy

Commits

Philip Jenvey  committed 5256cdf

prefer finditem_str

  • Participants
  • Parent commits 04e9f16
  • Branches py3k

Comments (0)

Files changed (1)

File pypy/interpreter/argument.py

View file
  • Ignore whitespace
                     missing += 1
                     continue
                 name = signature.kwonlyargnames[i - co_argcount]
-                w_name = self.space.wrap(name)
-                w_def = self.space.finditem(w_kw_defs, w_name)
+                w_def = self.space.finditem_str(w_kw_defs, name)
                 if w_def is not None:
                     scope_w[i] = w_def
                 else: