mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Never explicitly inherit from object in Python 3-only stubs (#6777)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user