MCPcopy Index your code
hub / github.com/ipython/ipython / factory

Method factory

IPython/lib/pretty.py:553–556  ·  view source on GitHub ↗
(cls, name)

Source from the content-addressed store, hash-verified

551
552 @classmethod
553 def factory(cls, name):
554 def inner(*args, **kwargs):
555 return cls(name, *args, **kwargs)
556 return inner
557
558 def _repr_pretty_(self, p, cycle):
559 # dunders are to avoid clashes with kwargs, as python's name managing

Callers 7

_re_pattern_pprintFunction · 0.80
_defaultdict_pprintFunction · 0.80
_ordereddict_pprintFunction · 0.80
_deque_pprintFunction · 0.80
_counter_pprintFunction · 0.80
_userlist_pprintFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected