Skip to content

Commit 90a88e9

Browse files
committed
Fix typos
1 parent 7d38622 commit 90a88e9

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

docs/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This module differs from other similar modules by providing a
1717
streaming-capable implementation (data can be passed to the hash
1818
object in chunnks and a digest extracted at the end) and by providing
1919
an interface compatible to the hash functions provided by the
20-
:mod:`hashlib` standard library module. Binary wheels are provied for
20+
:mod:`hashlib` standard library module. Binary wheels are provided for
2121
all supported Python releases on the most common platforms. More
2222
platforms can be added to the build job as needed.
2323

@@ -62,7 +62,7 @@ respectively. These functions take two optional parameters:
6262
bytes-like object. It can be passed only as positional argument.
6363

6464
* **key** -- key for keyed hashing, which must be a bytes-like
65-
object. The passed key can be up to 16 bytes in lenght. Shorter keys
65+
object. The passed key can be up to 16 bytes in length. Shorter keys
6666
are zero padded to 16 bytes. It can be passed only as a keyword
6767
argument.
6868

siphash24.pyx.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ cdef class siphash{{variant}}:
9494
return hexlify(hash)
9595

9696
def intdigest(self):
97-
"""Return the digest calue as a signed 64bit integer."""
97+
"""Return the digest value as a signed 64bit integer."""
9898
cdef CSipHash state
9999
memcpy(&state, &self.state, sizeof(state))
100100
cdef uint64_t hash = c_siphash_finalize_{{variant}}(&state)

0 commit comments

Comments
 (0)