Commit b4e40f5
authored
[ty] Fix
## Summary
Matches the pattern we use for `__getitem__`.
See: astral-sh/ty#190.__contains__ to respect descriptors (#23056)1 parent 848cb72 commit b4e40f5
2 files changed
Lines changed: 37 additions & 20 deletions
File tree
- crates/ty_python_semantic
- resources/mdtest/comparison/instances
- src/types/infer
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
68 | 89 | | |
69 | 90 | | |
70 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14585 | 14585 | | |
14586 | 14586 | | |
14587 | 14587 | | |
14588 | | - | |
14589 | | - | |
14590 | | - | |
14591 | | - | |
14592 | | - | |
14593 | | - | |
14594 | | - | |
14595 | | - | |
14596 | | - | |
14597 | | - | |
14598 | | - | |
14599 | | - | |
14600 | | - | |
14601 | | - | |
14602 | | - | |
14603 | | - | |
14604 | | - | |
14605 | | - | |
14606 | | - | |
14607 | | - | |
| 14588 | + | |
| 14589 | + | |
| 14590 | + | |
| 14591 | + | |
| 14592 | + | |
| 14593 | + | |
| 14594 | + | |
| 14595 | + | |
| 14596 | + | |
| 14597 | + | |
| 14598 | + | |
| 14599 | + | |
| 14600 | + | |
| 14601 | + | |
| 14602 | + | |
| 14603 | + | |
14608 | 14604 | | |
14609 | 14605 | | |
14610 | 14606 | | |
| |||
0 commit comments