(Nov-11-2022, 10:16 AM)buran Wrote: Is name2 a type, like int or str?No, its some custom class provided by the main application.
(Nov-11-2022, 10:16 AM)buran Wrote: This looks like type annotationsYea. You just beat me to that one. function-parameter-with-colon
Going beyond the idiomatic Python (Sensible Idiomatic usage - Blog post - Sep 11th 2017)