diff options
| author | Dan Halbert <halbert@halwitz.org> | 2020-07-28 14:15:02 -0400 |
|---|---|---|
| committer | Dan Halbert <halbert@halwitz.org> | 2020-07-28 14:15:02 -0400 |
| commit | aa97ea25016c60edf688b51f6495f8fbd740cc8e (patch) | |
| tree | f5b24b64a8f55f0e940e2aabb947e2825729c6e9 /shared-bindings/_pixelbuf/__init__.c | |
| parent | e5e132a36436aa5aa0a6124b28edd44536fc38c7 (diff) | |
| parent | 9fc7118861a118b9e0a7e37b6bc902654ee11401 (diff) | |
Merge remote-tracking branch 'adafruit/main' into blm_badge
Diffstat (limited to 'shared-bindings/_pixelbuf/__init__.c')
| -rw-r--r-- | shared-bindings/_pixelbuf/__init__.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shared-bindings/_pixelbuf/__init__.c b/shared-bindings/_pixelbuf/__init__.c index 6038fdfdc..c714cade4 100644 --- a/shared-bindings/_pixelbuf/__init__.c +++ b/shared-bindings/_pixelbuf/__init__.c @@ -41,12 +41,12 @@ //| Byteorders are configured with strings, such as "RGB" or "RGBD".""" // TODO: Pull in docs from pypixelbuf. -//| def colorwheel(n: int) -> int: +//| def colorwheel(n: float) -> int: //| """C implementation of the common wheel() function found in many examples. //| Returns the colorwheel RGB value as an integer value for n (usable in :py:class:`PixelBuf`, neopixel, and dotstar).""" //| ... //| -//| def wheel(n: Any) -> Any: +//| def wheel(n: float) -> int: //| """Use of wheel() is deprecated. Please use colorwheel().""" //| |
