[pypy-commit] pypy set-strategies: checking for string makes no sense here
l.diekmann
noreply at buildbot.pypy.org
Thu Nov 10 13:52:04 CET 2011
Author: Lukas Diekmann <lukas.diekmann at uni-duesseldorf.de>
Branch: set-strategies
Changeset: r49239:ee4c088754f8
Date: 2011-10-14 11:54 +0200
http://bitbucket.org/pypy/pypy/changeset/ee4c088754f8/
Log: checking for string makes no sense here
diff --git a/pypy/objspace/std/dictmultiobject.py b/pypy/objspace/std/dictmultiobject.py
--- a/pypy/objspace/std/dictmultiobject.py
+++ b/pypy/objspace/std/dictmultiobject.py
@@ -22,7 +22,6 @@
# XXX there are many more types
return (space.is_w(w_lookup_type, space.w_NoneType) or
- space.is_w(w_lookup_type, space.w_str) or
space.is_w(w_lookup_type, space.w_int) or
space.is_w(w_lookup_type, space.w_bool) or
space.is_w(w_lookup_type, space.w_float)
More information about the pypy-commit
mailing list