From b6a7a92a9360614ff6364bc8fccb3211c1f00a37 Mon Sep 17 00:00:00 2001 From: = <=> Date: Tue, 6 Feb 2024 18:07:13 +0100 Subject: [PATCH] added function signature --- python/tuple_tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/tuple_tools.py b/python/tuple_tools.py index f56194e..985f516 100644 --- a/python/tuple_tools.py +++ b/python/tuple_tools.py @@ -9,7 +9,7 @@ def generate_neighbors(a, b, c): (a, b, c+1) ] -def reorient_tuple(t, n): +def reorient_tuple(t: tuple, n: int) -> tuple: t, _ = _invert(*_flip(*_rotate(t, n))) return t