Skip to content

Commit

Permalink
Minor improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
dcherian committed Nov 10, 2021
1 parent dea8fd9 commit c7e9d96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xarray/util/generate_reductions.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ def generate_code(self, method):
extra_kwargs.append(f"numeric_only={method.numeric_only},")

if extra_kwargs:
extra_kwargs = "\n " + "\n ".join(extra_kwargs)
extra_kwargs = textwrap.indent("\n" + "\n".join(extra_kwargs), 12 * " ")
else:
extra_kwargs = ""
return f""" return self.reduce(
Expand Down

0 comments on commit c7e9d96

Please sign in to comment.