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

Method formatvalue

tools/python-3.11.9-amd64/Lib/pydoc.py:1514–1516  ·  view source on GitHub ↗

Format an argument default value as text.

(self, object)

Source from the content-addressed store, hash-verified

1512 return title + '\n' + self.indent(contents.rstrip(), ' | ') + '\n'
1513
1514 def formatvalue(self, object):
1515 """Format an argument default value as text."""
1516 return '=' + self.repr(object)
1517
1518 def docroutine(self, object, name=None, mod=None, cl=None, homecls=None):
1519 """Produce text documentation for a function or method object."""

Callers

nothing calls this directly

Calls 1

reprMethod · 0.45

Tested by

no test coverage detected