P
P
piffo2020-07-20 00:09:00
Python
piffo, 2020-07-20 00:09:00

Docstrings in Python?

I started learning python from the book "A Byte of Python". Reached such a topic as docstrings. Did I understand correctly that documentation strings are needed in order to make life easier for the end user?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
meaqese, 2020-07-20
@piffo

Documentation is needed so that other developers immediately understand what this piece of code is for.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question