Author: Philip Jenvey <pjen...@underboss.org>
Branch: py3k
Changeset: r72094:5256cdf289b4
Date: 2014-06-17 15:53 -0700
http://bitbucket.org/pypy/pypy/changeset/5256cdf289b4/

Log:    prefer finditem_str

diff --git a/pypy/interpreter/argument.py b/pypy/interpreter/argument.py
--- a/pypy/interpreter/argument.py
+++ b/pypy/interpreter/argument.py
@@ -283,8 +283,7 @@
                     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:
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to