MCPcopy Create free account
hub / github.com/ndleah/python-mini-project / _Node

Class _Node

linked_lists/linked_stack.py:7–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5class LinkedStack:
6
7 class _Node:
8 __slots__ = "_element" , "_next"
9
10 def __init__(self, element, next):
11 self._element = element
12 self._next = next
13
14 def __init__(self):
15 self._head = None

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected