On Sun, Jul 24, 2011 at 6:21 PM, Frank Millman <fr...@chagford.com> wrote:
> On Jul 24, 10:07 am, Chris Angelico <ros...@gmail.com> wrote:
>> if dec.rtrim('0')!='':
>>
>> ChrisA
>
> I think you meant 'rstrip', but yes, neater and faster.
>
> Thanks

Yeah, I did. Mea culpa... every language has it somewhere, but I keep
mucking up which one calls it what. That's what I get for not flicking
to IDLE before posting!

ChrisA
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to