Commits

Manuel Jacob committed d6b1adc

Fix.

  • Participants
  • Parent commits 3507798
  • Branches refactor-str-types

Comments (0)

Files changed (1)

File pypy/objspace/std/bytearrayobject.py

             return ch
 
     def _join_return_one(self, space, w_obj):
-        return space.is_w(space.type(w_obj), space.w_unicode)
+        return False
 
     def _join_check_item(self, space, w_obj):
-        if (space.is_w(space.type(w_obj), space.w_str) or
-            space.is_w(space.type(w_obj), space.w_bytearray)):
+        if (space.isinstance_w(w_obj, space.w_str) or
+            space.isinstance_w(w_obj, space.w_bytearray)):
             return 0
         return 1