Skip to content

Commit 3f9607f

Browse files
Further simplification
Co-authored-by: Chris Markiewicz <[email protected]>
1 parent 0e6a385 commit 3f9607f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

nipype/utils/filemanip.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -715,8 +715,7 @@ def write_rst_header(header, level=0):
715715

716716

717717
def write_rst_list(items, prefix=""):
718-
out = [f"{prefix} {item}" for item in ensure_list(items)]
719-
return "\n".join(out) + "\n\n"
718+
return "\n".join(f"{prefix} {item}" for item in ensure_list(items)) + "\n\n"
720719

721720

722721
def write_rst_dict(info, prefix=""):

0 commit comments

Comments
 (0)