Description
Use generic programming patterns in Python code, such as dispatching behavior based on types or registered implementations. It helps libraries separate shared interfaces from concrete behavior.
This is a developer library. Generic dispatch can make control flow less obvious, so projects should document registered behavior and test edge cases where multiple implementations may match.