def _compute_limit(self, limit, throughput):
if limit[-<NUM_LIT:1>] == "<STR_LIT:%>":<EOL><INDENT>return throughput * float(limit[:-<NUM_LIT:1>]) / <NUM_LIT><EOL><DEDENT>else:<EOL><INDENT>return float(limit)<EOL><DEDENT>
Compute a percentage limit or return a point limit