We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc69401 commit 474eeb8Copy full SHA for 474eeb8
hypothesis-python/src/hypothesis/internal/conjecture/junkdrawer.py
@@ -203,13 +203,11 @@ class LazySequenceCopy:
203
in O(1) time. The full list API is not supported yet but there's no reason
204
in principle it couldn't be."""
205
206
- __mask: Optional[Dict[int, int]]
207
-
208
def __init__(self, values: Sequence[int]):
209
self.__values = values
210
self.__len = len(values)
211
- self.__mask = None
212
- self.__popped_indices = None
+ self.__mask: Optional[Dict[int, int]] = None
+ self.__popped_indices: Optional[SortedList] = None
213
214
def __len__(self) -> int:
215
if self.__popped_indices is None:
0 commit comments