compat: fix version check to include 3.9
This commit is contained in:
parent
6074f04fe8
commit
b242d94be9
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ else:
|
|||
|
||||
# bisect_left doesnt have a 'key' parameter (which we use)
|
||||
# till python3.10
|
||||
if sys.version_info[:2] < (3, 9):
|
||||
if sys.version_info[:2] <= (3, 9):
|
||||
from typing import List, TypeVar, Any, Optional, Callable
|
||||
X = TypeVar('X')
|
||||
# copied from python src
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue