Update docstring.

This commit is contained in:
Raphael Mitsch 2023-03-01 11:35:40 +01:00
parent 1c2b8b07fb
commit 09b302507c

View File

@ -138,7 +138,7 @@ def test_serialize_subclassed_kb():
util.to_disk(path, serialize, exclude)
def from_disk(self, path, exclude: Iterable[str] = SimpleFrozenList()):
"""We overwrite InMemoryLookupKB.to_disk() to ensure that self.custom_field is loaded as well."""
"""We overwrite InMemoryLookupKB.from_disk() to ensure that self.custom_field is loaded as well."""
path = ensure_path(path)
if not path.exists():
raise ValueError(Errors.E929.format(loc=path))