ruff/crates/red_knot_python_semantic/resources/mdtest/comparison
Matthew Mckee aa46047649
[red-knot] Surround intersections with () in potentially ambiguous contexts (#17568)
## Summary

Add parentheses to multi-element intersections, when displayed in a
context that's otherwise potentially ambiguous.

## Test Plan

Update mdtest files

---------

Co-authored-by: Carl Meyer <carl@astral.sh>
2025-04-23 04:18:20 +00:00
..
instances [red-knot] Handle unions of callables better (#16716) 2025-03-17 10:35:52 -04:00
byte_literals.md [red-knot] have mdformat wrap mdtest files to 100 columns (#14020) 2024-10-31 21:00:51 +00:00
identity.md Improve mdtests style (#14884) 2024-12-10 13:05:51 +00:00
integers.md [red-knot] Surround intersections with () in potentially ambiguous contexts (#17568) 2025-04-23 04:18:20 +00:00
intersections.md [red-knot] Do not assume that x != 0 if x inhabits ~Literal[0] (#17370) 2025-04-15 22:27:27 -07:00
non_bool_returns.md [red-knot] Surround intersections with () in potentially ambiguous contexts (#17568) 2025-04-23 04:18:20 +00:00
strings.md Improve mdtests style (#14884) 2024-12-10 13:05:51 +00:00
tuples.md [red-knot] fix eager nested scopes handling (#16916) 2025-03-28 11:11:56 -04:00
unions.md Improve mdtests style (#14884) 2024-12-10 13:05:51 +00:00
unsupported.md Refactor CallOutcome to Result (#16161) 2025-02-18 13:34:39 +01:00