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:
Laurens Valk
2020-12-23 11:45:37 +01:00
parent abe4c1bc9a
commit 8a1716d5e2
+2 -2
View File
@@ -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