Commit 1546631
committed
Restore python pre-3.9 compatibility
.. and anyway the type is actually a Tuple when using usb_hid.devices
in CircuitPython.
This has a small cost in mpy file size but not as much as we earned back
with earlier optimizations. The over-broad exception is used in order
to reduce byte code growth1 parent 311a02d commit 1546631
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
| |||
35 | 39 | | |
36 | 40 | | |
37 | 41 | | |
38 | | - | |
| 42 | + | |
39 | 43 | | |
40 | 44 | | |
41 | 45 | | |
| |||
0 commit comments