Better HN
topnewbestaskshowjobs
Log inSign up

thatmalewoman

4 karma · joined Jul 16, 2015 (11y ago) · 1 submissions

Submissions

comment 11y ago · link · parent

Even better: If you put the string right after your function/class definition, python automatically assigns it to the `__doc__` attribute of the object. This is how the `help` function works.