Class representing integer objects.
operator +(rhs, )
: Adds two numbers.operator -(rhs, )
: Subtract two numbers.operator *(rhs, )
: Multiplies two numbers.operator /(rhs, )
: Divides two numbers.operator %(rhs, )
: Returns the modulus of two numbers.operator unary +(rhs, )
: Returns the given number made positive.operator unary -(rhs, )
: Inverts the given number's sign, then returns the result.operator ==(rhs, )
: Returns true if the current number is equal to the given number.operator !=(rhs, )
: Returns true if the current number is not equal to the given number.operator <(rhs, )
: Returns true if the current number is less than the given number.operator >(rhs, )
: Returns true if the current number is greater than the given number.operator <=(rhs, )
: Returns true if the current number is less than or equal to the given number.operator >=(rhs, )
: Returns true if the current number is greater than or equal to the given number.operator and(rhs, )
: Return the bitwise AND of two numbers.operator or(rhs, )
: Return the bitwise OR of two numbers.operator not(rhs, )
: Returns the bitwise inverse of the current number.operator xor(rhs, )
: Return the bitwise XOR of two numbers.operator <<(bits, )
: Left-shift current number by given number of bits.operator >>(bits, )
: Right-shift current number by given number of bits.__op_and__(rhs, )
: Return the bitwise AND of two numbers.__op_divide__(rhs, )
: Divides two numbers.__op_equals__(rhs, )
: Returns true if the current number is equal to the given number.__op_geq__(rhs, )
: Returns true if the current number is greater than or equal to the given number.__op_gt__(rhs, )
: Returns true if the current number is greater than the given number.__op_leq__(rhs, )
: Returns true if the current number is less than or equal to the given number.__op_lshift__(bits, )
: Left-shift current number by given number of bits.__op_lt__(rhs, )
: Returns true if the current number is less than the given number.__op_minus__(rhs, )
: Subtract two numbers.__op_mod__(rhs, )
: Returns the modulus of two numbers.__op_multiply__(rhs, )
: Multiplies two numbers.__op_nequals__(rhs, )
: Returns true if the current number is not equal to the given number.__op_not__(rhs, )
: Returns the bitwise inverse of the current number.__op_or__(rhs, )
: Return the bitwise OR of two numbers.__op_plus__(rhs, )
: Adds two numbers.__op_rshift__(bits, )
: Right-shift current number by given number of bits.__op_unminus__(rhs, )
: Inverts the given number's sign, then returns the result.__op_unplus__(rhs, )
: Returns the given number made positive.__op_xor__(rhs, )
: Return the bitwise XOR of two numbers.bool()
: Returns Boolean representation of current object.float()
: Returns floating-point representation of current object.int()
: Returns integer representation of current object.parse(str, base, )
: Returns integer extracted from string.str()
: Returns string representation of current object.