diff --git a/fsspec/spec.py b/fsspec/spec.py index 8284366ba..6ce338b32 100644 --- a/fsspec/spec.py +++ b/fsspec/spec.py @@ -408,7 +408,7 @@ def walk(self, path, maxdepth=None, topdown=True, on_error="omit", **kwargs): topdown: bool (True) Whether to walk the directory tree from the top downwards or from the bottom upwards. - on_error: "omit", "raise", a collable + on_error: "omit", "raise", a callable if omit (default), path with exception will simply be empty; If raise, an underlying exception will be raised; if callable, it will be called with a single OSError instance as argument