Python
Python Doctest: Testing Code Examples in Your Docstrings
Documentation lies. Not because developers intend to mislead, but because code evolves and docstrings do not. A function gets refactored, its return format changes, and somewhere in the codebase an outdated >>> example claims it returns a list when it now returns a generator. The user copies that