MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / repr_instance

Method repr_instance

tools/python-3.11.9-amd64/Lib/pydoc.py:572–576  ·  view source on GitHub ↗
(self, x, level)

Source from the content-addressed store, hash-verified

570 repr_str = repr_string
571
572 def repr_instance(self, x, level):
573 try:
574 return self.escape(cram(stripid(repr(x)), self.maxstring))
575 except:
576 return self.escape('<%s instance>' % x.__class__.__name__)
577
578 repr_unicode = repr_string
579

Callers

nothing calls this directly

Calls 3

escapeMethod · 0.95
cramFunction · 0.85
stripidFunction · 0.85

Tested by

no test coverage detected