Skip to content

Commit bbcb459

Browse files
committed
Improve doc string for valid_file_manager()
1 parent 483a917 commit bbcb459

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,9 @@ def valid_file_manager() -> str:
204204
All exceptions are caught, except those if this platform is not supported by
205205
this package.
206206
207-
:return: If the user's default file manager is set and it is known by this
208-
package, then return it. Otherwise return the stock file manager, if it
209-
exists.
207+
:return: If the user's default file manager is set and it is recognized
208+
as valid by this package, then return it. Otherwise return the stock file
209+
manager, if it exists.
210210
"""
211211
```
212212

src/showinfm/showinfm.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,9 @@ def valid_file_manager() -> str:
9797
All exceptions are caught, except those if this platform is not supported by
9898
this package.
9999
100-
:return: If the user's default file manager is set and it is known by this
101-
package, then return it. Otherwise return the stock file manager, if it
102-
exists.
100+
:return: If the user's default file manager is set and it is recognized
101+
as valid by this package, then return it. Otherwise return the stock file
102+
manager, if it exists.
103103
"""
104104

105105
if current_platform == Platform.windows or is_wsl1:

0 commit comments

Comments
 (0)