MCPcopy Index your code
hub / github.com/RustPython/RustPython / formatvalue

Method formatvalue

Lib/pydoc.py:1112–1114  ·  view source on GitHub ↗

Format an argument default value as text.

(self, object)

Source from the content-addressed store, hash-verified

1110 return self.section(title, 'title', contents, 3, doc)
1111
1112 def formatvalue(self, object):
1113 """Format an argument default value as text."""
1114 return self.grey('=' + self.repr(object))
1115
1116 def docroutine(self, object, name=None, mod=None,
1117 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