Python interpreter error: unsupported operand type(s) for |:

yaffa yxxxxlxxxxx at hotmail.com
Thu Aug 11 15:47:43 EDT 2005


hey folks i get this error:  Python interpreter error: unsupported operand 
type(s) for |:

when i run this line of code:

 for incident in bs('tr',  {'bgcolor' : '#eeeeee'} | {'bgcolor' : 
'white'} ):

any idea what i'm doing wrong here?

thanks

yaffa




More information about the Python-list mailing list