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

Method formatvalue

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

Format an argument default value as text.

(self, object)

Source from the content-addressed store, hash-verified

1052 return self.section(title, 'title', contents, 3, doc)
1053
1054 def formatvalue(self, object):
1055 """Format an argument default value as text."""
1056 return self.grey('=' + self.repr(object))
1057
1058 def docroutine(self, object, name=None, mod=None,
1059 funcs={}, classes={}, methods={}, cl=None, homecls=None):

Callers

nothing calls this directly

Calls 2

greyMethod · 0.95
reprMethod · 0.45

Tested by

no test coverage detected