Skip to content

Commit 5db025a

Browse files
committed
DOC: rewrite first line of function docstring
Make standalone first line for parse_filename docstring. Do a better job of explaining what it is doing.
1 parent 5c9dfff commit 5db025a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

nibabel/filename_parser.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,7 @@ def parse_filename(filename,
147147
types_exts,
148148
trailing_suffixes,
149149
match_case=False):
150-
''' Splits filename into tuple of
151-
(fileroot, extension, trailing_suffix, guessed_name)
150+
'''Split filename into fileroot, extension, trailing suffix; guess type.
152151
153152
Parameters
154153
----------

0 commit comments

Comments
 (0)