Skip to content

Commit a7df0f0

Browse files
authored
Refactor import for Sequence in binary_search_recursion
Updated import statement for Sequence to use collections.abc.
1 parent 7c621df commit a7df0f0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

searches/binary_search_recursion.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55
"""
66

77
from __future__ import annotations
8-
from typing import Sequence, TypeVar
8+
9+
from collections.abc import Sequence
10+
from typing import TypeVar
11+
912

1013
T = TypeVar("T")
1114

0 commit comments

Comments
 (0)