Skip to content

Commit 474eeb8

Browse files
committed
type properly
1 parent cc69401 commit 474eeb8

File tree

1 file changed

+2
-4
lines changed
  • hypothesis-python/src/hypothesis/internal/conjecture

1 file changed

+2
-4
lines changed

hypothesis-python/src/hypothesis/internal/conjecture/junkdrawer.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -203,13 +203,11 @@ class LazySequenceCopy:
203203
in O(1) time. The full list API is not supported yet but there's no reason
204204
in principle it couldn't be."""
205205

206-
__mask: Optional[Dict[int, int]]
207-
208206
def __init__(self, values: Sequence[int]):
209207
self.__values = values
210208
self.__len = len(values)
211-
self.__mask = None
212-
self.__popped_indices = None
209+
self.__mask: Optional[Dict[int, int]] = None
210+
self.__popped_indices: Optional[SortedList] = None
213211

214212
def __len__(self) -> int:
215213
if self.__popped_indices is None:

0 commit comments

Comments
 (0)