We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e72fe12 commit 4466df5Copy full SHA for 4466df5
1 file changed
Goodrich/Chapter7/doubly_linked_list.py
@@ -1,10 +1,6 @@
1
"""Code Fragment 7.11/.12: A Python Node class for use in a doubly linked list."""
2
3
4
-class EmptyError(Exception):
5
- ...
6
-
7
8
class _DoublyLinkedBase:
9
"""A base class providing a doubly linked list representation."""
10
@@ -43,7 +39,7 @@ def __prev(self, value):
43
39
def __next(self, value):
44
40
self._next = value
45
41
46
- # Doubly Linked Base methods ----------------------------------------------------------
42
+ # _DoublyLinkedBase methods ------------------------------------------------------------
47
def __init__(self):
48
"""Create an empty list."""
49
self._header: _DoublyLinkedBase._Node = self._Node(None, None, None)
0 commit comments