@staticmethod
def from_point(p):
    ' Generates a public key object from any object\n        containing x, y coordinates.\n\n        Args:\n            p (Point): An object containing a two-dimensional, affine\n               representation of a point on the secp256k1 curve.\n\n        Returns:\n            PublicKey: A PublicKey object.\n        '
    return PublicKey(p.x, p.y)
Generates a public key object from any object
containing x, y coordinates.

Args:
    p (Point): An object containing a two-dimensional, affine
       representation of a point on the secp256k1 curve.

Returns:
    PublicKey: A PublicKey object.
@staticmethod
def from_point(p):
    ' Generates a public key object from any object\n        containing x, y coordinates.\n\n        Args:\n            p (Point): An object containing a two-dimensional, affine\n               representation of a point on the secp256k1 curve.\n\n        Returns:\n            PublicKey: A PublicKey object.\n        '
    return PublicKey(p.x, p.y)