Commit bca959f
authored
Remove unnecessary workarounds from bind_self() (#19356)
In my original PR I erroneously concluded that attribute access on
`TypeVar` would result in `PyObject` attribute access after mypy is
compiled, but this is actually no the case. I therefore remove some
workarounds (and a bit of unused code).1 parent 5e9d657 commit bca959f
2 files changed
+6
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1477 | 1477 | | |
1478 | 1478 | | |
1479 | 1479 | | |
1480 | | - | |
1481 | | - | |
| 1480 | + | |
1482 | 1481 | | |
1483 | 1482 | | |
1484 | | - | |
| 1483 | + | |
1485 | 1484 | | |
1486 | 1485 | | |
1487 | | - | |
1488 | | - | |
1489 | | - | |
1490 | | - | |
1491 | | - | |
1492 | | - | |
1493 | | - | |
| 1486 | + | |
| 1487 | + | |
| 1488 | + | |
| 1489 | + | |
1494 | 1490 | | |
1495 | 1491 | | |
1496 | | - | |
1497 | 1492 | | |
1498 | 1493 | | |
1499 | 1494 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
472 | 472 | | |
473 | 473 | | |
474 | 474 | | |
475 | | - | |
476 | | - | |
477 | | - | |
478 | 475 | | |
479 | 476 | | |
480 | 477 | | |
| |||
0 commit comments