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