I recently reviewed #python code I wrote when I first starting using type hints.
My hints restricted what users could do with it. But two tiny changes opened up more possibilities and better communicated what the code needed.
I wrote this article to help others improve their hints.
https://everydaysuperpowers.dev/articles/use-abcs-for-less-restrictive-type-hints/
@peterdrake Nice!!!
I especially like your "hints" in the yellow boxes.
I am working on adding similar hints to an ABC cheat sheet.