Skip to content

Commit

Permalink
docstring fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeitsperre committed Mar 10, 2023
1 parent 59e51db commit c564fcc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ Internal changes
* Markdown explanations in some Jupyter Notebooks have been edited for clarity
* Removed `Mapping` abstract base class types in call signatures (`dict` variables were always expected). (:pull:`1308`).
* Changes in testing setup now prevent ``test_mean_radiant_temperature`` from sometimes causing a segmentation fault. (:issue:`1303`, :pull:`1315`).
* Addressed a formatting bug that caused `Indicators` with multiple variables returned to not be properly formatted in the documentation. (:issue:`1305`, :pull:`1317`).

0.41.0 (2023-02-28)
-------------------
Expand Down
2 changes: 1 addition & 1 deletion xclim/core/formatting.py
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ def _gen_returns_section(cf_attrs: Sequence[dict[str, Any]]):
attr = "<Dynamically generated string>"
added_section += f" **{key}**: {attr};"
if added_section:
section = f"{section}, with additional attributes:{added_section[:-1]}"
section = f"{section}, with additional attributes:{added_section[:-1]}\n"
return section


Expand Down

0 comments on commit c564fcc

Please sign in to comment.