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 __abs__(s):
      a, b = s._mpq_
      if a >= 0:
          return s
      v = new(mpq)
      v._mpq_ = -a, b
      return v
  
imports: import operator
  import sys
  from .libmp import int_types, mpf_hash, bitcount, from_man_exp, HASH_MODULUS
label_desc: Use image node_id 14 for calling the mpq obj's underlying member method code with example usage: obj.__abs__(s) and returns: v, s