Skip to content

Commit

Permalink
Fix typing errors in affinity module
Browse files Browse the repository at this point in the history
  • Loading branch information
mbsantiago committed Aug 9, 2023
1 parent 37e7751 commit 17fa82a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/soundevent/evaluation/affinity.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,15 @@
from soundevent import data

if sys.version_info >= (3, 8):
from typing import ParamSpec, Protocol
from typing import Protocol
else:
from typing_extensions import ParamSpec, Protocol
from typing_extensions import Protocol

if sys.version_info >= (3, 10):
from typing import ParamSpec
else:
from typing_extensions import ParamSpec


P = ParamSpec("P")

Expand Down

0 comments on commit 17fa82a

Please sign in to comment.