pybricks._common: Renamed incorrect argument name, fixed tuple type.

This commit is contained in:
Pavel Lobodinský
2022-01-03 11:01:33 +01:00
committed by laurensvalk
parent efc1650e7f
commit 70aa5ee0e2
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -671,7 +671,7 @@ class LightMatrix:
forever while the rest of your program keeps running.
Arguments:
matrix (list): List of Matrix of intensities.
matrices (list): List of Matrix of intensities.
interval (:ref:`time`): Time to display each image in the list.
"""
pass
+2 -2
View File
@@ -110,7 +110,7 @@ class ColorLight:
class LightArray:
def __init__(self, n: int): ...
def on(self, brightness: int) -> None: ...
def on(self, brightness: Union[int,(int, int, int, int)]) -> None: ...
def off(self) -> None: ...
def blink(self, durations: Collection[int]) -> None: ...
def animate(self, brightness_values: Collection[int], interval: int) -> None: ...
@@ -119,7 +119,7 @@ class LightMatrix:
def __init__(self, rows: int, columns: int): ...
def orientation(self, up: Side) -> None: ...
def image(self, matrix: Matrix) -> None: ...
def animate(self, matrices: Collection[Matrix], interval, int) -> None: ...
def animate(self, matrices: Collection[Matrix], interval: int) -> None: ...
def pixel(self, row: int, column: int, brightness: int = 100) -> None: ...
def off(self) -> None: ...
def number(self, number: int) -> None: ...