Oh, thank you very much. I did know that python can parse number '528' and keyword 'or' without separator.
2008/8/12 Paul Rubin <"http://phr.cx"@nospam.invalid>: > "ðÏ" <[EMAIL PROTECTED]> writes: >> I saw a strange python code in pygame project. What does "while >> not(x&528or x in l):" mean? Below code works in python2.5, so "x&528" >> is not HTML strings. > > It parses as "x & 528 or x in l". Looks like it came from > > http://www.pygame.org/project/833/ > > and is an attempt to squash the program to as few bytes as possible. > -- > http://mail.python.org/mailman/listinfo/python-list > -- http://mail.python.org/mailman/listinfo/python-list