Commit 4d871d8
authored
Make self a positional-only argument in all update overloads
Before, overriding this function without the type-checker complaining was impossible, because the overloads hat different requirements for self (positional-only vs. positional or keyword) that could not be fulfilled by a single function implementation.
Fixes #153101 parent 35b688e commit 4d871d8
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
840 | 840 | | |
841 | 841 | | |
842 | 842 | | |
843 | | - | |
| 843 | + | |
844 | 844 | | |
845 | 845 | | |
846 | 846 | | |
| |||
0 commit comments