Thomas Waldmann @ EuroPython 2018
Objects can use __doc__ to self-describe themselves.
Pronounciation: "dunder doc" (aka docstring)
You can use it to:
interactively get help
class OrderedDict:
"""a key->value mapping that remembers insert order"""
...
>>> help(OrderedDict)
'a key->value mapping ...'
>>> print(OrderedDict.__doc__)
'a key->value mapping ...'
You don't have to wonder about what it is, it self-documents!
many (unknown) people,
$people doing $things.
$people2 doing $things2.
ThomasWaldmann.__doc__
ESP32 / MicroPython / ULP
(powerful MicroController)
BorgBackup
(deduplicating Backup Software)
nsupdate.info
(dyndns Service / Software)
MoinMoin Wiki
(Wiki Software)
Python / Linux / FOSS
Crypto / Privacy
Name/Nick.__doc__
bold/big:
few, relevant
keywords
(in the context of the event)
(below that, maybe some more details or explanations, small font)
Optional:
use colours, Home Page, github, ...
Please distribute