Skip to content

Commit

Permalink
Update specfile/types.py
Browse files Browse the repository at this point in the history
Co-authored-by: Nikola Forró <[email protected]>
  • Loading branch information
majamassarini and nforro authored Nov 12, 2024
1 parent d9f95ca commit f5efa54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specfile/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit f5efa54

Please sign in to comment.