4 ms·
True, but it is tricky because `is not None` doesn't work here. For example, `my_var ?? 0` would become `my_var if not None 0` which doesn't really make sense a
by phailhaus 4y ago
True, but it is tricky because `is not None` doesn't work here. For example, `my_var ?? 0` would become `my_var if not None 0` which doesn't really make sense and also collides with the pre-existing ternary syntax (`my_var if not None else 0`).