Skip to content

Commit

Permalink
fix: rm now useless python version check
Browse files Browse the repository at this point in the history
  • Loading branch information
loiccoyle committed Sep 22, 2023
1 parent 3ed32e2 commit 5b4d0ad
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions phomo/metrics.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
import sys

# prior to python 3.8, Protocol is in typing_extensions
if sys.version_info[0] == 3 and sys.version_info[1] < 8:
from typing_extensions import Protocol
else:
from typing import Protocol
from typing import Protocol

import numpy as np

Expand Down

0 comments on commit 5b4d0ad

Please sign in to comment.