Skip to content

Commit e77144d

Browse files
committed
Add TODO for mpy issue
1 parent f15a715 commit e77144d

File tree

1 file changed

+5
-1
lines changed
  • circuitpython_typing

1 file changed

+5
-1
lines changed

circuitpython_typing/io.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,11 @@ def value(self) -> float:
3838
on the specifics of the class.
3939
"""
4040

41+
# TODO: this should be `value(self, input_value: float, /)` but can't
42+
# because currently mpy files are built and the `/` param isn't supported
43+
# in micro-python.
44+
# https://github.com/adafruit/Adafruit_CircuitPython_Typing/issues/36
4145
# pylint: disable=no-self-use,unused-argument
4246
@value.setter
43-
def value(self, input_value: float, /):
47+
def value(self, input_value: float):
4448
...

0 commit comments

Comments
 (0)