numpydoc icon indicating copy to clipboard operation
numpydoc copied to clipboard

Italicize type-only values in `Returns` section

Open LeanderBlume opened this issue 3 years ago • 0 comments

type-only values as in

Returns
-------
int

should be in italics for consistency with the parameter_name : int style, where int would be in italics.

Possible reason not to do this: "type-only" is just a convention and it could also be "name-only" and numpydoc wants to stay agnostic on this. If this is the case, feel free to close.

LeanderBlume avatar Jan 02 '23 18:01 LeanderBlume