From 23efb32c4354778122e7e8d36d790311b8ac3443 Mon Sep 17 00:00:00 2001 From: Mohit Goyani <69747425+woodsman1@users.noreply.github.com> Date: Sun, 9 May 2021 22:44:08 +0530 Subject: [PATCH] fixed wrong return type in xxhash (#5378) * fixed wrong return type in xxhash --- stubs/xxhash/xxhash.pyi | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/stubs/xxhash/xxhash.pyi b/stubs/xxhash/xxhash.pyi index d0f7a4932..f0aeadc72 100644 --- a/stubs/xxhash/xxhash.pyi +++ b/stubs/xxhash/xxhash.pyi @@ -20,17 +20,17 @@ class xxh3_64(_IntDigestHash): ... class xxh3_128(_IntDigestHash): ... def xxh32_digest(input: ReadableBuffer = ...) -> bytes: ... -def xxh32_intdigest(input: ReadableBuffer = ...) -> bytes: ... -def xxh32_hexdigest(input: ReadableBuffer = ...) -> bytes: ... +def xxh32_intdigest(input: ReadableBuffer = ...) -> int: ... +def xxh32_hexdigest(input: ReadableBuffer = ...) -> str: ... def xxh64_digest(input: ReadableBuffer = ...) -> bytes: ... -def xxh64_intdigest(input: ReadableBuffer = ...) -> bytes: ... -def xxh64_hexdigest(input: ReadableBuffer = ...) -> bytes: ... +def xxh64_intdigest(input: ReadableBuffer = ...) -> int: ... +def xxh64_hexdigest(input: ReadableBuffer = ...) -> str: ... def xxh3_64_digest(input: ReadableBuffer = ...) -> bytes: ... -def xxh3_64_intdigest(input: ReadableBuffer = ...) -> bytes: ... -def xxh3_64_hexdigest(input: ReadableBuffer = ...) -> bytes: ... +def xxh3_64_intdigest(input: ReadableBuffer = ...) -> int: ... +def xxh3_64_hexdigest(input: ReadableBuffer = ...) -> str: ... def xxh3_128_digest(input: ReadableBuffer = ...) -> bytes: ... -def xxh3_128_intdigest(input: ReadableBuffer = ...) -> bytes: ... -def xxh3_128_hexdigest(input: ReadableBuffer = ...) -> bytes: ... +def xxh3_128_intdigest(input: ReadableBuffer = ...) -> int: ... +def xxh3_128_hexdigest(input: ReadableBuffer = ...) -> str: ... xxh128 = xxh3_128 xxh128_digest = xxh3_128_digest