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

Method __str__

tools/npy_tempita/__init__.py:68–75  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

66 self.name = name
67
68 def __str__(self):
69 msg = ' '.join(self.args)
70 if self.position:
71 msg = '%s at line %s column %s' % (
72 msg, self.position[0], self.position[1])
73 if self.name:
74 msg += ' in %s' % self.name
75 return msg
76
77
78class _TemplateContinue(Exception):

Callers

nothing calls this directly

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected