#4351: more appropriate DeprecationWarning stacklevels
diff --git a/Lib/commands.py b/Lib/commands.py
index ccaaaee..d0e8dd5 100644
--- a/Lib/commands.py
+++ b/Lib/commands.py
@@ -37,7 +37,7 @@
 def getstatus(file):
     """Return output of "ls -ld <file>" in a string."""
     import warnings
-    warnings.warn("commands.getstatus() is deprecated", DeprecationWarning)
+    warnings.warn("commands.getstatus() is deprecated", DeprecationWarning, 2)
     return getoutput('ls -ld' + mkarg(file))