def create_throughput(variable=primitive):
    """ Create a throughput specification """
    return (
        Suppress(upkey("throughput") | upkey("tp"))
        + Suppress("(")
        + variable
        + Suppress(",")
        + variable
        + Suppress(")")
    ).setResultsName("throughput")
def create_throughput ( variable = primitive ) : return ( Suppress ( upkey ( "throughput" ) | upkey ( "tp" ) ) + Suppress ( "(" ) + variable + Suppress ( "," ) + variable + Suppress ( ")" ) ) . setResultsName ( "throughput" )
Create a throughput specification