MCPcopy Index your code
hub / github.com/python/cpython / _append_doc

Function _append_doc

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

Source from the content-addressed store, hash-verified

101
102
103def _append_doc(doc, added_doc):
104 doc = doc.rsplit('\n', 1)[0]
105 added_doc = added_doc.split('\n', 1)[1]
106 return doc + '\n' + added_doc
107
108def _extend_docstrings(cls):
109 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

Used in the wild real call sites across dependent graphs

searching dependent graphs…