Open TylerYep opened 4 years ago
@dataclass class SkipListNode(Generic[KT, VT]): key: KT value: VT next: List[SkipListNode[KT, VT]] = field(default_factory=list)
In the screenshot, next is highlighted as a keyword. However, I don't believe that it should be, as it will only ever be accessed as self.next or SkipListNode.next.
self.next
SkipListNode.next
In the screenshot, next is highlighted as a keyword. However, I don't believe that it should be, as it will only ever be accessed as
self.next
orSkipListNode.next
.