Re: Vertical line in function arguments

2010-03-27 Thread Andrej Mitrovic
Well I hate it when this happens. I ask a question, and literally 2 seconds later I bump into the answer. This explains it a bit: http://docs.python.org/library/stdtypes.html#bit-string-operations-on-integer-types -- http://mail.python.org/mailman/listinfo/python-list

Vertical line in function arguments

2010-03-27 Thread Andrej Mitrovic
There is this peace of code in a 3rd party module: MidiIn.SetFilter(pypm.FILT_ACTIVE | pypm.FILT_CLOCK | pypm.FILT_PITCHBEND | pypm.FILT_NOTE) What are the vertical lines in a function call such as this? This actually calls a function from a Pyrex module that was compiled int