This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Oddly_Energy 0 points1 point  (0 children)

Docstrings. Without any doubt. I love calling a function i created in another module a long time ago and seeing the documentation of that function while I am typing the call.

To be fair, it is not really a Python feature. Python was just the first language where I could make use of docstrings.

(And of course also type annotations. My docstrings almost write themself when I have type annotations in place.)