Commit ba6bf0a
committed
fix(collections): add deque reverse multiplication
Declare `deque.__rmul__` so type checkers accept multiplication with
an integer on the left. Add regression coverage for the reported
false positive.
Refs: #16034
Signed-off-by: Jason Scheffel <contact@jasonscheffel.com>1 parent 35c51b4 commit ba6bf0a
2 files changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
| 280 | + | |
280 | 281 | | |
281 | 282 | | |
282 | 283 | | |
| |||
0 commit comments