added function signature

This commit is contained in:
=
2024-02-06 18:07:13 +01:00
parent 58235e461c
commit b6a7a92a93

View File

@@ -9,7 +9,7 @@ def generate_neighbors(a, b, c):
(a, b, c+1) (a, b, c+1)
] ]
def reorient_tuple(t, n): def reorient_tuple(t: tuple, n: int) -> tuple:
t, _ = _invert(*_flip(*_rotate(t, n))) t, _ = _invert(*_flip(*_rotate(t, n)))
return t return t