Docstring

The sentence written at the top of a function that states what it returns and how it handles the edge cases. It is the contract a caller reads instead of guessing.

Back to the glossary