mirror of
https://github.com/TheAlgorithms/Python.git
synced 2026-03-13 09:50:19 +08:00
Fix imports for all namespace packages (#2506)
* Fix imports as they're namespace packages * Fix import for scripts/validate_filenames.py * Fix path in doctest
This commit is contained in:
@@ -112,7 +112,7 @@ class LinkedDeque(_DoublyLinkedBase):
|
||||
...
|
||||
IndexError: remove_first from empty list
|
||||
>>> d.add_first('A') # doctest: +ELLIPSIS
|
||||
<linked_list.deque_doubly.LinkedDeque object at ...
|
||||
<data_structures.linked_list.deque_doubly.LinkedDeque object at ...
|
||||
>>> d.remove_first()
|
||||
'A'
|
||||
>>> d.is_empty()
|
||||
@@ -132,7 +132,7 @@ class LinkedDeque(_DoublyLinkedBase):
|
||||
...
|
||||
IndexError: remove_first from empty list
|
||||
>>> d.add_first('A') # doctest: +ELLIPSIS
|
||||
<linked_list.deque_doubly.LinkedDeque object at ...
|
||||
<data_structures.linked_list.deque_doubly.LinkedDeque object at ...
|
||||
>>> d.remove_last()
|
||||
'A'
|
||||
>>> d.is_empty()
|
||||
|
||||
Reference in New Issue
Block a user