[Python-ideas] Extend docstring construction