MCPcopy Index your code
hub / github.com/python/cpython / __repr__

Method __repr__

Lib/_sitebuiltins.py:60–65  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

58 self.__linecnt = len(self.__lines)
59
60 def __repr__(self):
61 self.__setup()
62 if len(self.__lines) <= self.MAXLINES:
63 return "\n".join(self.__lines)
64 else:
65 return "Type %s() to see the full %s text" % ((self.__name,)*2)
66
67 def __call__(self):
68 try:

Callers

nothing calls this directly

Calls 2

__setupMethod · 0.95
joinMethod · 0.45

Tested by

no test coverage detected