JelleZijlstra / autotyping

Automatically add simple type annotations to your code
238 stars 20 forks source link

Add `__lenght_hint__` magic method return type of `int` #43

Closed sobolevn closed 2 years ago

sobolevn commented 2 years ago

Docs: https://peps.python.org/pep-0424/

Cool project idea :)

JelleZijlstra commented 2 years ago

Thanks! Could you also add to the list of magic methods in the README?