def doc_params(**kwds):
def dec(obj):<EOL><INDENT>obj.__doc__ = dedent(obj.__doc__).format(**kwds)<EOL>return obj<EOL><DEDENT>return dec<EOL>
\
    Docstrings should start with "\" in the first line for proper formatting.