Skip to content

Commit 7d9ae3e

Browse files
committed
update type error
1 parent 0736fd7 commit 7d9ae3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/chapter02/2.4 - Partition/miguel_2.4_soln.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def pop_head(self) -> Optional[Node]:
9292

9393
def append(self, ll: object):
9494
if not isinstance(ll, LinkedList):
95-
raise TypeError(...)
95+
raise TypeError('not a linked list')
9696
self.tail.next = ll.head
9797

9898
def __repr__(self):

0 commit comments

Comments
 (0)