Skip to content

Commit 694b862

Browse files
Update numpy/_core/arrayprint.py
Co-authored-by: Robert Kern <[email protected]>
1 parent 014c342 commit 694b862

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpy/_core/arrayprint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def _make_options_dict(precision=None, threshold=None, edgeitems=None,
7373
options['legacy'] = sys.maxsize
7474
elif legacy == False: # noqa: E712
7575
warnings.warn(
76-
f"Passing `legacy={legacy}` is deprecated.",
76+
f"Passing `legacy={legacy!r}` is deprecated.",
7777
FutureWarning, stacklevel=3
7878
)
7979
options['legacy'] = sys.maxsize

0 commit comments

Comments
 (0)