1.1 --- a/lib/__builtins__/int.py Tue Nov 22 01:28:58 2016 +0100
1.2 +++ b/lib/__builtins__/int.py Tue Nov 22 17:20:56 2016 +0100
1.3 @@ -131,8 +131,14 @@
1.4 return _negate(self.__eq__(other))
1.5
1.6 def __invert__(self): pass
1.7 - def __neg__(self): pass
1.8 - def __pos__(self): pass
1.9 +
1.10 + def __neg__(self):
1.11 + "Apply the unary negation operator."
1.12 + return native._int_neg(self)
1.13 +
1.14 + def __pos__(self):
1.15 + "Apply the unary positive operator."
1.16 + return self
1.17
1.18 def __str__(self):
1.19 "Return a string representation."