We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e6a385 commit 3f9607fCopy full SHA for 3f9607f
nipype/utils/filemanip.py
@@ -715,8 +715,7 @@ def write_rst_header(header, level=0):
715
716
717
def write_rst_list(items, prefix=""):
718
- out = [f"{prefix} {item}" for item in ensure_list(items)]
719
- return "\n".join(out) + "\n\n"
+ return "\n".join(f"{prefix} {item}" for item in ensure_list(items)) + "\n\n"
720
721
722
def write_rst_dict(info, prefix=""):
0 commit comments