]> Repositories - Adafruit_Blinka-hackapet.git/commit
Make micropython.const accept any constant type
authorGeorge Waters <gwatersdev@gmail.com>
Mon, 14 Jul 2025 15:20:32 +0000 (11:20 -0400)
committerGeorge Waters <gwatersdev@gmail.com>
Mon, 14 Jul 2025 15:20:32 +0000 (11:20 -0400)
commitd92dc8084a38204adb5cf0453ba789f4226039ae
tree2887998d07b58d974ff832bddb37ee71717f5701
parenta2ce1000d72b0aa84d8b3945ccca0d80a7464894
Make micropython.const accept any constant type

micropython.const now supports any constant type, not just int. This
updates the type checking to reflect this. This also updates the name of
the file so that type checkers can find it.
src/micropython-stubs/__init__.pyi [moved from src/micropython-stubs/micropython.pyi with 95% similarity]