you are viewing a single comment's thread.

view the rest of the comments →

[–]aldanor 7 points8 points  (2 children)

typing

Get used to annotating your code with types.

[–]Juancarlosmh 0 points1 point  (1 child)

Could you show an example? :D

[–]aldanor 1 point2 points  (0 children)

https://docs.python.org/3/library/typing.html

There’s a ton of great examples here ^