Function Docstring Writer
Writes a docstring that explains intent, not just restates the signature.
Write a docstring for this {{language}} function. Explain what it does and why (not just restate parameter names), document params/return/exceptions, and flag one non-obvious behavior a caller should know about, if there is one.
```
{{code}}
```