How is docstrings more advantageous over comments? other than multi line feature. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How is docstrings more advantageous over comments? other than multi line feature.

30th Jan 2018, 4:19 PM
Arshad Aman
Arshad Aman - avatar
2 Answers
+ 1
Automatic documentation. Not the easiest to setup, but it's nice when it works (based on experience with other languages; I've not used Python outside of SoloLearn).
30th Jan 2018, 7:22 PM
Tom Shaver
Tom Shaver - avatar
0
Thank you :)
30th Jan 2018, 7:34 PM
Arshad Aman
Arshad Aman - avatar