Skip to content

Commit

Permalink
resolve carsonfarmer#73
Browse files Browse the repository at this point in the history
  • Loading branch information
jGaboardi committed Jul 10, 2024
1 parent c96d684 commit 2f96e29
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion fastpair/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,20 @@
# Copyright (c) 2002-2015, David Eppstein
# Licensed under the MIT Licence (http://opensource.org/licenses/MIT).

import sys
from collections import defaultdict
from collections.abc import Callable, Generator, Iterable
from itertools import combinations, cycle
from typing import Annotated, Self, TypeAlias, TypedDict, TypeVar
from typing import Annotated, TypeAlias, TypedDict, TypeVar

################################################################
# See GH#73 -- remove once Python 3.11 is minimum
if sys.version_info.minor < 11:
from typing_extensions import Self
else:
from typing import Self
################################################################


import numpy
import scipy.spatial.distance as dist
Expand Down

0 comments on commit 2f96e29

Please sign in to comment.