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

Function decor

IPython/testing/decorators.py:144–147  ·  view source on GitHub ↗
(f)

Source from the content-addressed store, hash-verified

142
143 # This is the actual decorator we'll return
144 def decor(f):
145 for label in labels:
146 setattr(f,label,True)
147 return f
148
149 # Apply the user's docstring, or autogenerate a basic one
150 if ds is None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected