fix_duplicate_notes#
- sunpy.util.fix_duplicate_notes(notes_to_add, docstring)[source]#
Merges a note section into a docstring that may have a notes section.
- Parameters:
notes_to_add (str) – The notes that need to be added (starting with
"Notes"
).docstring – The original docstring.
- Returns:
str – Updated docstring with a single notes section.