diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2020-01-11 01:52:23 +0000 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2020-01-10 19:52:23 -0600 |
commit | 96bd9de3552972a3964fee9b0c70a35450313ff2 (patch) | |
tree | a1fe5acceae3e7000c620a8b195dca731fb3b5f4 /numpy/array_api/_array_object.py | |
parent | c4d5e12879c19c2655b5620fa1c18242b14d5141 (diff) | |
download | numpy-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