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

Method __repr__

IPython/utils/io.py:46–49  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

44 setattr(self, meth, val)
45
46 def __repr__(self):
47 cls = self.__class__
48 tpl = '{mod}.{cls}({args})'
49 return tpl.format(mod=cls.__module__, cls=cls.__name__, args=self.stream)
50
51 def write(self,data):
52 warn('IOStream is deprecated since IPython 5.0, use sys.{stdin,stdout,stderr} instead',

Callers

nothing calls this directly

Calls 1

formatMethod · 0.45

Tested by

no test coverage detected