mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-12 01:24:17 +00:00
api/common/Keypad: change return type to tuple
This follows an implementation change that was made for performance reasons (https://github.com/pybricks/pybricks-micropython/commit/95741ac2f8f118396a517a38f4d0f7fb92136f82).
This commit is contained in:
+2
-2
@@ -665,8 +665,8 @@ class Keypad:
|
||||
def pressed(self):
|
||||
"""Checks which buttons are currently pressed.
|
||||
|
||||
:returns: List of pressed buttons.
|
||||
:rtype: List of :class:`Button <.parameters.Button>`
|
||||
:returns: Tuple of pressed buttons.
|
||||
:rtype: Tuple of :class:`Button <.parameters.Button>`
|
||||
|
||||
"""
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user