Commit 91c06c9
Annotate node_bytes type for mypy 2.0.0
mypy 2.0.0 narrows node_bytes to bytes from the 24-bit branch's
assignment and rejects the bytearray reassignment and mutation in the
28-bit branch. Widen the declared type to cover both.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 1c32402 commit 91c06c9
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
| 223 | + | |
223 | 224 | | |
224 | 225 | | |
225 | 226 | | |
| |||
0 commit comments