From 7de985ac64f7d19e1162bc41efd82366efb4dd29 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Fri, 25 Oct 2024 13:51:24 +0200 Subject: [PATCH] Fix typo (#1705) --- fsspec/spec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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