summaryrefslogtreecommitdiff
path: root/numpy/core/arrayprint.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2023-01-17 14:31:10 -0500
committerGitHub <noreply@github.com>2023-01-17 14:31:10 -0500
commit8535df676cf52c97ad4806e0aa76aa33eeea7113 (patch)
treeb697b73646f50cd96a1b29b9ea18fc1922588702 /numpy/core/arrayprint.py
parent90e233a85b9953e084a145e2b4ff0638adc9369a (diff)
parent2403dbea944a8b0628a9ec44cf630e01566cc989 (diff)
downloadnumpy-8535df676cf52c97ad4806e0aa76aa33eeea7113.tar.gz
Merge pull request #23020 from seberg/faster-array-function
ENH: Improve array function overhead by using vectorcall
Diffstat (limited to 'numpy/core/arrayprint.py')
-rw-r--r--numpy/core/arrayprint.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/arrayprint.py b/numpy/core/arrayprint.py
index 957cecf1c..e0d8ab5c7 100644
--- a/numpy/core/arrayprint.py
+++ b/numpy/core/arrayprint.py
@@ -724,7 +724,7 @@ def array2string(a, max_line_width=None, precision=None,
# Deprecation 11-9-2017 v1.14
warnings.warn("'style' argument is deprecated and no longer functional"
" except in 1.13 'legacy' mode",
- DeprecationWarning, stacklevel=3)
+ DeprecationWarning, stacklevel=2)
if options['legacy'] > 113:
options['linewidth'] -= len(suffix)