From 873d27ac1ea5c43e39c91df8761918e8a04767c7 Mon Sep 17 00:00:00 2001 From: Erik Bernhardsson Date: Thu, 18 May 2023 16:07:38 -0400 Subject: [PATCH] Fix 646 --- annoy/__init__.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/annoy/__init__.pyi b/annoy/__init__.pyi index 146be292..08adf4b9 100644 --- a/annoy/__init__.pyi +++ b/annoy/__init__.pyi @@ -3,7 +3,7 @@ from typing import Sized, overload from typing_extensions import Literal, Protocol class _Vector(Protocol, Sized): - def __getitem__(self, i: int) -> float: ... + def __getitem__(self, __index: int) -> float: ... class AnnoyIndex: f: int