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 __pow__(s, t):
      ttype = type(t)
      if ttype in int_types:
          a, b = s._mpq_
          if t:
              if t < 0:
                  a, b, t = b, a, -t
              v = new(mpq)
              v._mpq_ = a**t, b**t
              return v
          raise ZeroDivisionError
      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 23 for calling the mpq obj's underlying member method code with example usage: obj.__pow__(s, t) and returns: NotImplemented, v