Paolo Bonzini <pbonz...@redhat.com> writes:

> Il 28/04/2014 09:02, Amos Kong ha scritto:
>>  def mcgen(code, **kwds):
>> -    return cgen('\n'.join(code.split('\n')[1:-1]), **kwds)
>> +    raw = cgen('\n'.join(code.split('\n')[1:-1]), **kwds)
>> +    return re.sub(re.escape(eatspace) + ' +', '', raw)
>
> I'd feel a little more confident with ' *' instead of
> one-or-more. Otherwise

You're right; ensures eatspace is stripped out again.

[...]

Reply via email to