docstring_but_strip_examples
- PlasmaCalcs.tools.docs_tools.docstring_but_strip_examples(f, *, strip_returns=True)
return f.__doc__ but removing all lines after “Examplesn”, if present.
- strip_returns: bool
- if True, also remove all lines after “Returnsn”, if present.