From b5015a6f1d060ab0dbe69c92e27ba338a70dedbd Mon Sep 17 00:00:00 2001 From: LIghtJUNction Date: Fri, 1 May 2026 08:51:17 +0800 Subject: [PATCH] Clean up imports in solution.py Removed unused TypeVar import for compatibility with Python 3.12. --- challenges/advanced-overload-literal/solution.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/challenges/advanced-overload-literal/solution.py b/challenges/advanced-overload-literal/solution.py index 19295ca..f7bf72a 100644 --- a/challenges/advanced-overload-literal/solution.py +++ b/challenges/advanced-overload-literal/solution.py @@ -4,7 +4,7 @@ foo is a function that: returns an interger when second argument is 1, returns a string when second argument is 2, returns a list when second argument is 3, and otherwise it returns the same type as the first argument. """ -from typing import Any, Literal, overload, TypeVar +from typing import Any, Literal, overload # Before 3.12 you have to write: # T = TypeVar('T')