Glossary

Docstring

A string literal placed at the beginning of a Python module, class, or function to document its purpose, parameters, and return value. Accessed via `help()` or `__doc__`. (Ch. 23)

Learn More

Related Terms