3 ms·
Very strange PEP. Most `??` cases can be covered with simple `or`.
by bvrmn 8y ago
Very strange PEP. Most `??` cases can be covered with simple `or`.
- deleted 8y ago[deleted]
- UncleEntity 8y agoNot necessarily... x = 0 y = (x or 42) isn't the same as x = None y = (x or 42)
- bvrmn 8y agoYes, it isn't the same in a generic sense. But can be applied in many practical cases.