From 87e8c2d92fff3c6fc3b8048613c843f8db9588b0 Mon Sep 17 00:00:00 2001 From: Kosuke Zhang Date: Mon, 6 Feb 2023 03:25:05 +0800 Subject: [PATCH] Fix: tuple function cannot be passed more than one argument --- redis/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redis/__init__.py b/redis/__init__.py index 3ab697065e..b8850add15 100644 --- a/redis/__init__.py +++ b/redis/__init__.py @@ -56,7 +56,7 @@ def int_or_str(value): try: VERSION = tuple(map(int_or_str, __version__.split("."))) except AttributeError: - VERSION = tuple(99, 99, 99) + VERSION = tuple([99, 99, 99]) __all__ = [ "AuthenticationError",