Skip to content
Permalink
Browse files

fix

  • Loading branch information
Alex Gaynor
Alex Gaynor committed Apr 27, 2013
1 parent 8aa260a commit b0b86e149e20b2eb21b04acf8fd9980f053658e8
Showing with 1 addition and 0 deletions.
  1. +1 −0 topaz/objects/intobject.py
@@ -227,6 +227,7 @@ def method_invert(self, space):
return space.newint(~self.intvalue)

@classdef.method("==")
@classdef.method("equal?")
def method_eq(self, space, w_other):
if isinstance(w_other, W_FixnumObject):
return space.newbool(self.comparator(space, space.int_w(w_other)) == 0)

0 comments on commit b0b86e1

Please sign in to comment.