3 ms·
> Python will literally assign the content of your docstring (a triple-quoted string at the start of a function) Any string. Triple-quoted is just multiline s
by Izkata 2y ago
> Python will literally assign the content of your docstring (a triple-quoted string at the start of a function)
Any string. Triple-quoted is just multiline strings and works anywhere.
- TheRealPomax 2y agoTrue, I forget some people think a single line is function documentation; any function that's worth documenting is worth documenting properly, and needs multiline ;)