2022-04-30 10:11:54 +00:00
|
|
|
from typing import Union, Tuple, List
|
|
|
|
|
|
|
|
_block = Tuple[int, int, int]
|
|
|
|
|
2022-09-27 09:34:57 +00:00
|
|
|
def colors_to_bytes(colors: List[_block]) -> bytes: ... # noqa: E302
|
|
|
|
def bytes_to_colors(s: bytes) -> Union[List[_block], None]: ...
|