MCPcopy Create free account
hub / github.com/ipython/ipython / ipdocstring

Function ipdocstring

IPython/testing/ipunittest.py:168–173  ·  view source on GitHub ↗

Change the function docstring via ip2py.

(func)

Source from the content-addressed store, hash-verified

166
167
168def ipdocstring(func):
169 """Change the function docstring via ip2py.
170 """
171 if func.__doc__ is not None:
172 func.__doc__ = ip2py(func.__doc__)
173 return func
174
175
176# Make an instance of the classes for public use

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected