how to determine an 'open' string?

Sean 'Shaleh' Perry shalehperry at attbi.com
Thu May 16 12:55:19 EDT 2002


On 16-May-2002 holger krekel wrote:
> Sean 'Shaleh' Perry wrote:
>> > 
>> > what about
>> > 
>> >     '''"""'''argh"""'''"""
>> > 
>> >:-)
>> > 
>> 
>> what about it?  I count 3 single qt triples and 3 double qt triples.  3 % 2
>> is
>> not 0.
> 
> but it should be 0. the string *is closed*.
> 

heh, even I misparsed that when i read it (-: shucks.  Guess you need a WHOLE
LOT MORE code (-:  Sounds like you get to do some real parsing of the code to
see if it is sane.







More information about the Python-list mailing list