mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-04 16:57:32 +08:00
[mypy] fix hashes folder (#4305)
* fix hashes-folder * Update build.yml * fix doctests * return-values to int * Update hashes/adler32.py * type hints for elements Co-authored-by: Christian Clauss <cclauss@me.com>
This commit is contained in:
@ -19,7 +19,7 @@
|
||||
"""
|
||||
|
||||
|
||||
def sdbm(plain_text: str) -> str:
|
||||
def sdbm(plain_text: str) -> int:
|
||||
"""
|
||||
Function implements sdbm hash, easy to use, great for bits scrambling.
|
||||
iterates over each character in the given string and applies function to each of
|
||||
|
Reference in New Issue
Block a user