Skip to content

Commit e70e2c2

Browse files
committed
More docstring fixes
1 parent 9c24420 commit e70e2c2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/imcflibs/pathtools.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ def parse_path(path, prefix=""):
5656
5757
Examples
5858
--------
59-
6059
POSIX-style path to a file with a suffix:
6160
6261
>>> parse_path('/tmp/foo/file.suffix')
@@ -168,7 +167,7 @@ def join2(path1, path2):
168167

169168

170169
def jython_fiji_exists(path):
171-
"""Wrapper to work around problems with Jython 2.7 in Fiji.
170+
"""Work around problems with `os.path.exists()` in Jython 2.7 in Fiji.
172171
173172
In current Fiji, the Jython implementation of os.path.exists(path) raises a
174173
java.lang.AbstractMethodError iff 'path' doesn't exist. This function
@@ -235,6 +234,7 @@ def image_basename(orig_name):
235234
Parameters
236235
----------
237236
orig_name : str
237+
The original name, possibly containing paths and filename suffix.
238238
239239
Examples
240240
--------
@@ -358,7 +358,7 @@ def folder_size(source):
358358

359359

360360
def create_directory(new_path):
361-
"""create a new directory if it does not already exist.
361+
"""Create a new directory if it does not already exist.
362362
363363
Parameters
364364
----------

0 commit comments

Comments
 (0)