slicing question: rawdata[j:j+1] == 'xx' #will this ever be true ??

2006-04-05 Thread richard . hsu
I am new to python language and most of my python programming has been done with IronPython. I was looking at the source of markupbase.py which is included with Python 2.4 and came across the following line of code:- if rawdata[j:j+1] == '--': #comment i was confused because based on my understa

finish_endtag in sgmllib.py [Python 2.4]

2006-04-11 Thread Richard Hsu
uot; to self.unknown_endtag(tag) ?? thank you in advance. Richard Hsu hobbyist programmer. Toronto, Canada. -- http://mail.python.org/mailman/listinfo/python-list

Re: finish_endtag in sgmllib.py [Python 2.4]

2006-04-11 Thread Richard Hsu
thank you Ben. not only did i learn something about my question, i learnt the 'truth' :-) -- http://mail.python.org/mailman/listinfo/python-list