“Docstring” is a Python documentation string. It is the means to document Python “functions”, “modules” and “classes”.