(allArgs, allParentArgs, topicName)
Verify that allArgs does not contain any of allParentArgs. Raise
    MessageDataSpecError if fail.
Verify that allArgs does not contain any of allParentArgs. Raise
    MessageDataSpecError if fail.
Verify that allArgs does not contain any of allParentArgs . Raise MessageDataSpecError if fail .
def verifyArgsDifferent(allArgs, allParentArgs, topicName):
    """
    Verify that allArgs does not contain any of allParentArgs. Raise
    MessageDataSpecError if fail.
    """
    extra = set(allArgs).intersection(allParentArgs)
    if extra:
        msg = 'Args %%s already used in parent of "%s"' % topicName
        raise MessageDataSpecError(msg, tuple(extra))
def verifyArgsDifferent ( allArgs , allParentArgs , topicName ) : extra = set ( allArgs ) . intersection ( allParentArgs ) if extra : msg = 'Args %%s already used in parent of "%s"' % topicName raise MessageDataSpecError ( msg , tuple ( extra ) )