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

Method __str__

data_structures/queues/linked_queue.py:14–15  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

12 self.next: Node | None = None
13
14 def __str__(self) -> str:
15 return f"{self.data}"
16
17
18class LinkedQueue:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected