(self, bits, mask=VALID_FLAGS)
| 112 | |
| 113 | # All the bits set? You can restrict the test to the bits indicated by "mask". |
| 114 | def _all(self, bits, mask=VALID_FLAGS): |
| 115 | return (self & mask) == bits |
| 116 | |
| 117 | # Is one of the bits of the mask set? |
| 118 | def _any(self, bits): |
no outgoing calls