MCPcopy Create free account
hub / github.com/SooLab/CGFormer / add_start_docstrings

Function add_start_docstrings

bert/file_utils.py:155–160  ·  view source on GitHub ↗
(*docstr)

Source from the content-addressed store, hash-verified

153
154
155def add_start_docstrings(*docstr):
156 def docstring_decorator(fn):
157 fn.__doc__ = "".join(docstr) + (fn.__doc__ if fn.__doc__ is not None else "")
158 return fn
159
160 return docstring_decorator
161
162
163def add_start_docstrings_to_callable(*docstr):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected