diff --git a/novikovsd/hashtab.py b/novikovsd/hashtab.py index 358d22d..d889419 100644 --- a/novikovsd/hashtab.py +++ b/novikovsd/hashtab.py @@ -51,7 +51,7 @@ def ll_list_all(head): entries.sort(key=lambda x: x[0]) return entries - def _hash(name, bucket_count): +def _hash(name, bucket_count): h = 0 for ch in name: h = (h * 31 + ord(ch)) % bucket_count