MCPcopy Create free account
hub / github.com/ColdGrub1384/Pyto / copy

Function copy

site-packages/matplotlib/docstring.py:96–102  ·  view source on GitHub ↗

Copy a docstring from another source function (if present)

(source)

Source from the content-addressed store, hash-verified

94
95
96def copy(source):
97 "Copy a docstring from another source function (if present)"
98 def do_copy(target):
99 if source.__doc__:
100 target.__doc__ = source.__doc__
101 return target
102 return do_copy
103
104# create a decorator that will house the various documentation that
105# is reused throughout matplotlib

Callers 3

copy_dedentFunction · 0.70

Calls

no outgoing calls

Tested by 2