Commit 61b12a2
David Robertson
Expose
My first attempt (inheriting from `SupportsBytes`) was fine as far as
mypy was concerned. But this failed with an MRO problem.
I suspect you're not supposed to actually inherit from `SupportsBytes`.
Or maybe `SupportsBytes` is itself a `Protocol` and there was some
inheritance ambiguity there.__bytes__ on Key protocols1 parent 4d1adc6 commit 61b12a2
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
33 | 36 | | |
34 | 37 | | |
35 | 38 | | |
| |||
0 commit comments