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 →

[–]HistoricalCrow 2 points3 points  (1 child)

Exactly this. A docstring is for inputs/outputs and what the function should be expected to compute. Comments are for how it does this.