def generate_dh_parameters(self, generator, key_size):
        """
        Generate a DHParameters instance with a modulus of key_size bits.
        Using the given generator. Often 2 or 5.
        """

        Generate a DHParameters instance with a modulus of key_size bits.
        Using the given generator. Often 2 or 5.
        
stackoverflow/venv/lib/python3.6/site-packages/cryptography/hazmat/backends/interfaces.py