mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-04-08 06:45:54 +00:00
"Fixed typo in class name in docstrings"
This commit is contained in:
parent
5535759e99
commit
cb0c3a33b6
@ -45,7 +45,7 @@ class SortedLinkedList:
|
||||
def __init__(self) -> None:
|
||||
"""
|
||||
Create and initialize LinkedList class instance.
|
||||
>>> linked_list = LinkedList()
|
||||
>>> linked_list = SortedLinkedList()
|
||||
>>> linked_list.head is None
|
||||
True
|
||||
"""
|
||||
@ -226,7 +226,7 @@ class SortedLinkedList:
|
||||
|
||||
Doctests
|
||||
|
||||
>>> linkedList=SortedLinkedListtt()
|
||||
>>> linkedList=SortedLinkedList()
|
||||
>>> linkedList.length()
|
||||
0
|
||||
>>> linkedList.insert(32)
|
||||
|
Loading…
x
Reference in New Issue
Block a user