So you plan to add them to the code directly already? (which is good!)
For Python 2 type hints could be used via comments, and hopefully get converted for the Python 3 version then also (still as comments then though).
btw: maybe it would be good to switch to Python 3 by default and auto-generate the Python 2 code then instead? But likely not worth the effort.
So you plan to add them to the code directly already? (which is good!)
For Python 2 type hints could be used via comments, and hopefully get converted for the Python 3 version then also (still as comments then though).
btw: maybe it would be good to switch to Python 3 by default and auto-generate the Python 2 code then instead? But likely not worth the effort.