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

Method __str__

numpy/core/_exceptions.py:63–68  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

61 assert len(self.dtypes) == 2
62
63 def __str__(self):
64 return (
65 "ufunc {!r} cannot use operands with types {!r} and {!r}"
66 ).format(
67 self.ufunc.__name__, *self.dtypes
68 )
69
70
71@_display_as_base

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected