MCPcopy Create free account
hub / github.com/python/cpython / __str__

Method __str__

Tools/c-analyzer/c_parser/info.py:564–569  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

562 return f'{type(self).__name__}({", ".join(args)})'
563
564 def __str__(self):
565 try:
566 return self._str
567 except AttributeError:
568 self._str = next(self.render())
569 return self._str
570
571 def __getattr__(self, name):
572 try:

Callers

nothing calls this directly

Calls 1

renderMethod · 0.95

Tested by

no test coverage detected