MCPcopy Create free account
hub / github.com/numpy/numpy / __str__

Method __str__

numpy/distutils/npy_pkg_config.py:138–146  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

136 return _escape_backslash(val)
137
138 def __str__(self):
139 m = ['Name: %s' % self.name, 'Description: %s' % self.description]
140 if self.requires:
141 m.append('Requires:')
142 else:
143 m.append('Requires: %s' % ",".join(self.requires))
144 m.append('Version: %s' % self.version)
145
146 return "\n".join(m)
147
148class VariableSet:
149 """

Callers

nothing calls this directly

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected