0

Guys whats the use of docstrings in python besides serving as comments

docstring

5th Oct 2018, 4:52 AM
Andrew
Andrew - avatar
2 odpowiedzi
+ 1
you can use them for long texts. the newlines in that text also count as \n
5th Oct 2018, 6:36 AM
Kevin Dietrichstein
Kevin Dietrichstein - avatar
0
https://www.python.org/dev/peps/pep-0257/#what-is-a-docstring
5th Oct 2018, 4:59 AM
MsJ
MsJ - avatar