Skip to content

Commit 0bc34fc

Browse files
authored
Fix importlib.util.source_hash return annotation (#10686)
1 parent c50a708 commit 0bc34fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stdlib/importlib/util.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ class LazyLoader(importlib.abc.Loader):
4040
def factory(cls, loader: importlib.abc.Loader) -> Callable[..., LazyLoader]: ...
4141
def exec_module(self, module: types.ModuleType) -> None: ...
4242

43-
def source_hash(source_bytes: ReadableBuffer) -> int: ...
43+
def source_hash(source_bytes: ReadableBuffer) -> bytes: ...

0 commit comments

Comments
 (0)