From 7867165c1c7f225bd5145423863894d1cc055bf5 Mon Sep 17 00:00:00 2001 From: Hagen Wierstorf Date: Tue, 5 Dec 2023 13:45:32 +0100 Subject: [PATCH] Rephrase docstring --- audeer/core/io.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/audeer/core/io.py b/audeer/core/io.py index aee2e7f..bde850e 100644 --- a/audeer/core/io.py +++ b/audeer/core/io.py @@ -859,17 +859,17 @@ def move( dst_path: destination file/folder path Raises: - OSError: if ``dst_path`` is a non-empty folder, - and different from ``src_path`` - and ``src_path`` is also a folder - OSError: if ``dst_path`` is an empty folder - and different from ``src_path`` - and ``src_path`` is also a folder - (raised only under Windows) OSError: if ``src_path`` is a file and ``dst_path`` is an existing folder OSError: if ``src_path`` is a folder and ``dst_path`` is an existing file + OSError: if ``dst_path`` is a non-empty folder, + different from ``src_path``, + and ``src_path`` is also a folder + OSError: if ``dst_path`` is an empty folder, + different from ``src_path`` + and ``src_path`` is also a folder + (raised only under Windows) Examples: >>> path = mkdir('folder')