def __init__(self, digest=hashlib.sha256, orig=None):
        """Initializes a V2ResponseSigner object

        Keyword arguments:
        digest -- A callable which, when called, returns a hasher object.
            For example (and default value): hashlib.sha256
        orig -- A V2Signer object whose get_response_signer() returns this object.
            If None is provided, one such object is created internally.
        """
        super(V2ResponseSigner, self).__init__(digest)
        if orig is None:
            self.orig = V2Signer(digest)
            self.orig.response_signer = self
        else:
            self.orig = orig
def __init__ ( self , digest = hashlib . sha256 , orig = None ) : super ( V2ResponseSigner , self ) . __init__ ( digest ) if orig is None : self . orig = V2Signer ( digest ) self . orig . response_signer = self else : self . orig = orig
Initializes a V2ResponseSigner object

        Keyword arguments:
        digest -- A callable which, when called, returns a hasher object.
            For example (and default value): hashlib.sha256
        orig -- A V2Signer object whose get_response_signer() returns this object.
            If None is provided, one such object is created internally.