Skip to content

Commit 0e4e788

Browse files
committed
Removed the dot at the beginning of the imported modules names because 'python3 -m doctest -v data_structures/hashing/*.py' and 'python3 -m doctest -v data_structures/stacks/*.py' were failing not finding hash_table.py and stack.py modules.
1 parent d13eb2c commit 0e4e788

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

data_structures/hashing/double_hash.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python3
22

3-
from .hash_table import HashTable
3+
from hash_table import HashTable
44
from number_theory.prime_numbers import next_prime, check_prime
55

66

data_structures/hashing/hash_table_with_linked_list.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from .hash_table import HashTable
1+
from hash_table import HashTable
22
from collections import deque
33

44

data_structures/hashing/quadratic_probing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python3
22

3-
from .hash_table import HashTable
3+
from hash_table import HashTable
44

55

66
class QuadraticProbing(HashTable):

data_structures/stacks/infix_to_postfix_conversion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from __future__ import absolute_import
33
import string
44

5-
from .Stack import Stack
5+
from stack import Stack
66

77
__author__ = 'Omkar Pathak'
88

0 commit comments

Comments
 (0)