def __init__(self, p):
    'Defines the modulus p which must be a prime\n        '
    self.F = self
    self.p = gmpy.mpz(p)
    self.char = self.p
    self.q = (self.p + 1)
    assert gmpy.is_prime(p)
    self.rep = None
    self.g = None
    '\n        g is a random quadratic residue used to compute square roots and it is\n        initialized the first time a square root is computed\n        '
    self.to_fingerprint = ['p']
    self.to_export = {'fingerprint': [], 'value': ['p']}
    super(Field, self).__init__()
Defines the modulus p which must be a prime
def __init__(self, p):
    '\n        '
    self.F = self
    self.p = gmpy.mpz(p)
    self.char = self.p
    self.q = (self.p + 1)
    assert gmpy.is_prime(p)
    self.rep = None
    self.g = None
    '\n        g is a random quadratic residue used to compute square roots and it is\n        initialized the first time a square root is computed\n        '
    self.to_fingerprint = ['p']
    self.to_export = {'fingerprint': [], 'value': ['p']}
    super(Field, self).__init__()