Skip to content

Commit

Permalink
Changed Pixels model and updated documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andon-Li authored and BoboTiG committed Feb 27, 2024
1 parent 20a24c5 commit 42bf308
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/source/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -312,9 +312,9 @@ Properties

.. attribute:: pixels

List of RGB tuples.
List of row tuples that contain RGB tuples.

:rtype: list[tuple(int, int, int)]
:rtype: list[tuple(tuple(int, int, int), ...)]

.. attribute:: pos

Expand Down
2 changes: 1 addition & 1 deletion src/mss/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
Monitors = List[Monitor]

Pixel = Tuple[int, int, int]
Pixels = List[Pixel]
Pixels = List[Tuple[Pixel, ...]]

CFunctions = Dict[str, Tuple[str, List[Any], Any]]

Expand Down

0 comments on commit 42bf308

Please sign in to comment.