MCPcopy Index your code
hub / github.com/RustPython/RustPython / _append_doc

Function _append_doc

Lib/email/_policybase.py:94–97  ·  view source on GitHub ↗
(doc, added_doc)

Source from the content-addressed store, hash-verified

92
93
94def _append_doc(doc, added_doc):
95 doc = doc.rsplit('\n', 1)[0]
96 added_doc = added_doc.split('\n', 1)[1]
97 return doc + '\n' + added_doc
98
99def _extend_docstrings(cls):
100 if cls.__doc__ and cls.__doc__.startswith('+'):

Callers 1

_extend_docstringsFunction · 0.85

Calls 2

rsplitMethod · 0.45
splitMethod · 0.45

Tested by

no test coverage detected