def METHOD_NAME(evm: Evm, amount: Uint) -> None:
    """
    Subtracts `amount` from `evm.gas_left`.
    Parameters
    ----------
    evm :
        The current EVM.
    amount :
        The amount of gas the current operation requires.
    """
    if evm.gas_left < amount:
        raise OutOfGasError
    else:
        evm.gas_left -= U256(amount)