summaryrefslogtreecommitdiff
path: root/numpy/array_api/_array_object.py
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2020-01-11 01:52:23 +0000
committerSebastian Berg <sebastian@sipsolutions.net>2020-01-10 19:52:23 -0600
commit96bd9de3552972a3964fee9b0c70a35450313ff2 (patch)
treea1fe5acceae3e7000c620a8b195dca731fb3b5f4 /numpy/array_api/_array_object.py
parentc4d5e12879c19c2655b5620fa1c18242b14d5141 (diff)
downloadnumpy-96bd9de3552972a3964fee9b0c70a35450313ff2.tar.gz
ENH: Avoid escaping unicode in error messages (#15312)
There's no need to do formatting with `%s` this any more, we can use the `%S` formatting characters to embed the unicode directly. Also simplifies similar cases using `%R`.
Diffstat (limited to 'numpy/array_api/_array_object.py')
0 files changed, 0 insertions, 0 deletions