mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-04-21 05:07:35 +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:
|
def __init__(self) -> None:
|
||||||
"""
|
"""
|
||||||
Create and initialize LinkedList class instance.
|
Create and initialize LinkedList class instance.
|
||||||
>>> linked_list = LinkedList()
|
>>> linked_list = SortedLinkedList()
|
||||||
>>> linked_list.head is None
|
>>> linked_list.head is None
|
||||||
True
|
True
|
||||||
"""
|
"""
|
||||||
@ -226,7 +226,7 @@ class SortedLinkedList:
|
|||||||
|
|
||||||
Doctests
|
Doctests
|
||||||
|
|
||||||
>>> linkedList=SortedLinkedListtt()
|
>>> linkedList=SortedLinkedList()
|
||||||
>>> linkedList.length()
|
>>> linkedList.length()
|
||||||
0
|
0
|
||||||
>>> linkedList.insert(32)
|
>>> linkedList.insert(32)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user