Fix importlib.util.source_hash return annotation (#10686)

This commit is contained in:
Marc Mueller
2023-09-09 01:07:02 +02:00
committed by GitHub
parent c50a708818
commit 0bc34fc49c

View File

@@ -40,4 +40,4 @@ class LazyLoader(importlib.abc.Loader):
def factory(cls, loader: importlib.abc.Loader) -> Callable[..., LazyLoader]: ...
def exec_module(self, module: types.ModuleType) -> None: ...
def source_hash(source_bytes: ReadableBuffer) -> int: ...
def source_hash(source_bytes: ReadableBuffer) -> bytes: ...