3 Commits
Author SHA1 Message Date
kai-morichandLaurens Valk 121e19b33d pybricks.parameters: make Colors hashable.
The MicroPython implementation support hashing, we this should too.
2026-06-04 15:00:58 +02:00
kai-morichandGitHub 61578b5547 pybricks.parameters: Add/fix operators for Color type.
* Implement `Color.__eq__`, fix `Color.__mul__`. This allows testing of color block sorting algorithms with CPython.
* implement `Color.__lshift__` and immutability for completeness.
2026-04-25 11:01:54 -05:00
kai-morichandGitHub 031e905e12 README: document stub usage in vs code
Fixes: pybricks/support#937
2023-02-07 15:37:15 -06:00