first save

This commit is contained in:
tiijay
2025-10-19 18:29:10 +02:00
commit b5a30adb27
1303 changed files with 234711 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
"""
The tuple to pass or receive from the time methods is unfortunately
defined differently on different ports, boards and versions of MicroPython.
The _Time8Tuple and _Time9Tuple are the most common ones, and are unified in the _TimeTuple.
As this still does not cover all cases, the _TimeTuple is a union of the two common cases and the generic Tuple.
"""
from typing import Tuple
from typing_extensions import TypeAlias
_Time8Tuple: TypeAlias = Tuple[int, int, int, int, int, int, int, int]
_Time9Tuple: TypeAlias = Tuple[int, int, int, int, int, int, int, int, int]
_TimeTuple: TypeAlias = _Time8Tuple | _Time9Tuple | Tuple[int, ...]