From 8ebb02e313f53df4137999cd11727f1626e1461b Mon Sep 17 00:00:00 2001 From: Sofie Van Landeghem Date: Thu, 5 Jan 2023 08:56:26 +0100 Subject: [PATCH] update docstring --- spacy/cli/_util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/cli/_util.py b/spacy/cli/_util.py index f9fb5bf4e..0f4e9f599 100644 --- a/spacy/cli/_util.py +++ b/spacy/cli/_util.py @@ -586,7 +586,7 @@ def walk_directory(path: Path, suffix: Optional[str] = None) -> List[Path]: """Given a directory and a suffix, recursively find all files matching the suffix. Directories or files with names beginning with a . are ignored, but hidden flags on filesystems are not checked. - When provided with a suffix `None`, all files are returned without filtering.""" + When provided with a suffix `None`, there is no suffix-based filtering.""" if not path.is_dir(): return [path] paths = [path]