class_docstr: Rational number implementation that is intended to be compatible with
  gmpy2's mpq.
  
  Also slightly faster than fractions.Fraction.
  
  PythonMPQ should be treated as immutable although no effort is made to
  prevent mutation (since that might slow down calculations).
class_docstr_tok: ["Rational","number","implementation","that","is","intended","to","be","compatible","with","gmpy2","'s","mpq",".","Also","slightly","faster","than","fractions.Fraction",".","PythonMPQ","should","be","treated","as","immutable","although","no","effort","is","made","to","prevent","mutation","(","since","that","might","slow","down","calculations",")","."]
docstr: self <= other
docstr_tok: ["self","<","=","other"]
code: def __le__(self, other):
      """self <= other"""
      return self._cmp(other, operator.le)
  
imports: import operator
  from math import gcd
  from decimal import Decimal
  from fractions import Fraction
  import sys
  from typing import Tuple, Type
label_desc: Use image node_id 14 for calling the PythonMPQ obj's underlying member method code with example usage: obj.__le__(other) and returns: self