top | item 38200866

(no title)

barosl | 2 years ago

> states.intersection({'VALID'} | {'IN_PROGRESS'})

Does this Python code count? Haha.

discuss

order

masklinn|2 years ago

No, that’s the explicit conjunction of two explicit sets.

    ‘VALID’ or ‘IN_PROGRESS’ in states
Does not work and I’ve seen it around or SO. Or more commonly it’s variation

    a == b or c