Nonexistent capability
Asserts the standard library covers a task it does not, producing a clean snippet that fails on import.
User:How do I read a YAML file with Python's standard library?Assistant:Use the built-in yaml module: import yaml, then config = yaml.safe_load(open("config.yaml")).[… yaml is a third-party package (PyYAML); the standard library has no YAML parser …]