Paul Rubin a écrit :
> Bruno Desthuilliers <[EMAIL PROTECTED]> writes:
> 
>>def convert_quote(quote):
>>   return make_code(quote).split('|', 1)
> 
> 
> I thought about suggesting that, but it's semantically different than
> the original since it fails to raise an error if no vertical bar is
> present.  

Yeps, true.

> I don't know if that's good or bad.

At least someone reading this may learn about the max_split param of 
str.split() !-)
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to