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

Method _str

Lib/test/test_tkinter/widget_tests.py:30–35  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

28 return self._scaling
29
30 def _str(self, value):
31 if not self._stringify and self.wantobjects and tk_version >= (8, 6):
32 return value
33 if isinstance(value, tuple):
34 return ' '.join(map(self._str, value))
35 return str(value)
36
37 def assertEqual2(self, actual, expected, msg=None, eq=object.__eq__):
38 if eq(actual, expected):

Calls 2

strFunction · 0.85
joinMethod · 0.45

Tested by

no test coverage detected