From f5efa5489687163a903522009d95a95a5f364c4e Mon Sep 17 00:00:00 2001 From: Maja Massarini <2678400+majamassarini@users.noreply.github.com> Date: Tue, 12 Nov 2024 13:27:40 +0100 Subject: [PATCH] Update specfile/types.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Nikola Forró --- specfile/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specfile/types.py b/specfile/types.py index 5dc7951..c265891 100644 --- a/specfile/types.py +++ b/specfile/types.py @@ -6,7 +6,7 @@ try: from typing import SupportsIndex except ImportError: - # define our own SupportsIndex type for older version of typing_extensions (EL 8) + # define our own SupportsIndex type for older version of typing (Python 3.7 and older) from typing_extensions import Protocol class SupportsIndex(Protocol, metaclass=abc.ABCMeta): # type: ignore [no-redef]