summaryrefslogtreecommitdiff
path: root/numpy/lib/npyio.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/lib/npyio.py')
-rw-r--r--numpy/lib/npyio.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/npyio.py b/numpy/lib/npyio.py
index 3ad5d5ff8..d22d83506 100644
--- a/numpy/lib/npyio.py
+++ b/numpy/lib/npyio.py
@@ -1057,7 +1057,7 @@ def _read(fname, *, delimiter=',', comment='#', quote='"',
warnings.warn(
f'loadtxt: input contained no data: "{fname}"',
category=UserWarning,
- stacklevel=2
+ stacklevel=3
)
if unpack: