In Python, there are two popular ways to write docstrings:
"
or '
.main.py77 chars4 lines
main.py253 chars10 lines
Both types of docstrings are used to document Python code so that it is easier for others (or your future self!) to read and understand. As a best practice, it is recommended to include docstrings for every module, class, and function you write in Python.
gistlibby LogSnag