Skip to content

Commit 4466df5

Browse files
committed
Removed unused exception class
1 parent e72fe12 commit 4466df5

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

Goodrich/Chapter7/doubly_linked_list.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
"""Code Fragment 7.11/.12: A Python Node class for use in a doubly linked list."""
22

33

4-
class EmptyError(Exception):
5-
...
6-
7-
84
class _DoublyLinkedBase:
95
"""A base class providing a doubly linked list representation."""
106

@@ -43,7 +39,7 @@ def __prev(self, value):
4339
def __next(self, value):
4440
self._next = value
4541

46-
# Doubly Linked Base methods ----------------------------------------------------------
42+
# _DoublyLinkedBase methods ------------------------------------------------------------
4743
def __init__(self):
4844
"""Create an empty list."""
4945
self._header: _DoublyLinkedBase._Node = self._Node(None, None, None)

0 commit comments

Comments
 (0)