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

Method __iter__

IPython/core/hooks.py:127–132  ·  view source on GitHub ↗

Return all objects in chain. Handy if the objects are not callable.

(self)

Source from the content-addressed store, hash-verified

125 self.chain.sort(key=lambda x: x[0])
126
127 def __iter__(self):
128 """ Return all objects in chain.
129
130 Handy if the objects are not callable.
131 """
132 return iter(self.chain)
133
134
135def shutdown_hook(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected