MCPcopy Index your code
hub / github.com/python/cpython / formatvalue

Method formatvalue

Lib/pydoc.py:1067–1069  ·  view source on GitHub ↗

Format an argument default value as text.

(self, object)

Source from the content-addressed store, hash-verified

1065 return self.section(title, 'title', contents, 3, doc)
1066
1067 def formatvalue(self, object):
1068 """Format an argument default value as text."""
1069 return self.grey('=' + self.repr(object))
1070
1071 def docroutine(self, object, name=None, mod=None,
1072 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