class_docstr: Exact rational type, currently only intended for internal use.
class_docstr_tok: ["Exact","rational","type",",","currently","only","intended","for","internal","use","."]
code: def __ne__(s, t):
      ttype = type(t)
      if ttype is mpq:
          return s._mpq_ != t._mpq_
      if ttype in int_types:
          a, b = s._mpq_
          if b != 1:
              return True
          return a != t
      return NotImplemented
  
imports: import operator
  import sys
  from .libmp import int_types, mpf_hash, bitcount, from_man_exp, HASH_MODULUS
label_desc: Use image node_id 8 for calling the mpq obj's underlying member method code with example usage: obj.__ne__(s, t) and returns: NotImplemented, unknown, unknown, True