Skip to content
Permalink
Browse files

fix hash specs

  • Loading branch information
Alex Gaynor committed Apr 8, 2013
1 parent 6d1cae4 commit ad615468069a75454d2068a7e39a7f91e6bd934c
Showing with 1 addition and 1 deletion.
  1. +1 −1 topaz/objects/hashobject.py
@@ -110,7 +110,7 @@ def method_clear(self, space):
@check_frozen()
def method_shift(self, space):
if not self.contents:
return space.send(self, space.newsymbol("default"))
return space.send(self, space.newsymbol("default"), [space.w_nil])
w_key, w_value = self.contents.popitem()
return space.newarray([w_key, w_value])

0 comments on commit ad61546

Please sign in to comment.