Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
thatmalewoman
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
thatmalewoman
11y ago
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.