def inverse(x, n):

    (divider, inv, _) = extended_gcd(x, n)

    if divider != 1:
        raise ValueError("x (%d) and n (%d) are not relatively prime" % (x, n))

    return inv
Show custom repr message if view function exists.
dataset/ETHPy150Open CouchPotato/CouchPotatoServer/libs/rsa/common.py/inverse--crossover with--dataset/ETHPy150Open playpauseandstop/Flask-LazyViews/flask_lazyviews/utils.py/LazyView.__repr__