Never explicitly inherit from object in Python 3-only stubs (#6777)

This commit is contained in:
Alex Waygood
2022-01-02 06:24:48 +00:00
committed by GitHub
parent d43cd997a4
commit 505ea72641
35 changed files with 79 additions and 67 deletions

View File

@@ -2,7 +2,7 @@ import sys
from _typeshed import ReadableBuffer, Self
from typing import AbstractSet
class _Hash(object):
class _Hash:
@property
def digest_size(self) -> int: ...
@property
@@ -49,7 +49,7 @@ def pbkdf2_hmac(
hash_name: str, password: ReadableBuffer, salt: ReadableBuffer, iterations: int, dklen: int | None = ...
) -> bytes: ...
class _VarLenHash(object):
class _VarLenHash:
digest_size: int
block_size: int
name: str