MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / __init__

Method __init__

data_structures/queues/double_ended_queue.py:60–61  ·  view source on GitHub ↗
(self, cur: Deque._Node | None)

Source from the content-addressed store, hash-verified

58 __slots__ = ("_cur",)
59
60 def __init__(self, cur: Deque._Node | None) -> None:
61 self._cur = cur
62
63 def __iter__(self) -> Deque._Iterator:
64 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected