MCPcopy Create free account
hub / github.com/numpy/numpy / add_newdoc

Function add_newdoc

numpy/_typing/_add_docstring.py:11–24  ·  view source on GitHub ↗

Append ``_docstrings_list`` with a docstring for `name`. Parameters ---------- name : str The name of the object. value : str A string-representation of the object. doc : str The docstring of the object.

(name: str, value: str, doc: str)

Source from the content-addressed store, hash-verified

9
10
11def add_newdoc(name: str, value: str, doc: str) -> None:
12 """Append ``_docstrings_list`` with a docstring for `name`.
13
14 Parameters
15 ----------
16 name : str
17 The name of the object.
18 value : str
19 A string-representation of the object.
20 doc : str
21 The docstring of the object.
22
23 """
24 _docstrings_list.append((name, value, doc))
25
26
27def _parse_docstrings() -> str:

Callers 1

_add_docstring.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected