Document Python Function
Write a PEP257-compliant docstring for this Python function, including parameters, return values, and side effects.