i meant that x: int = 3 is dangerously close to int x = 3,

in the long run, you'll come across people who come from other languages
wanting to java/c style their code and end up sprinkling a lot of these,
it'll be a sad day for me

return type in function definition also managed to return via ->

Abdur-Rahmaan Janhangeer
https://github.com/Abdur-rahmaanJ
Mauritius

PEP 526 says that the annotation would be:
>
> x: int = 3
>
> It also says """It should also be emphasized that Python will remain a
> dynamically typed language, and the authors have no desire to ever make
> type hints mandatory, even by convention.""
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to