Skip to content

Commit 07ffae2

Browse files
authored
pybricks/_common.py: Renamed top in documentation of Display.orientation to up, to better reflect the state in code.
See https://github.com/pybricks/pybricks-micropython/blob/master/pybricks/common/pb_type_lightmatrix.c#L59C25 for usage in the code itself.
1 parent 32f974e commit 07ffae2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pybricks/_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,7 @@ def orientation(self, up: Side) -> None:
828828
contents remain unchanged.
829829
830830
Arguments:
831-
top (Side): Which side of the light matrix display is "up" in your
831+
up (Side): Which side of the light matrix display is "up" in your
832832
design. Choose ``Side.TOP``, ``Side.LEFT``, ``Side.RIGHT``,
833833
or ``Side.BOTTOM``.
834834
"""

0 commit comments

Comments
 (0)