summaryrefslogtreecommitdiff
path: root/Lib/plat-mac/macresource.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/plat-mac/macresource.py')
-rw-r--r--Lib/plat-mac/macresource.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/plat-mac/macresource.py b/Lib/plat-mac/macresource.py
index 0a66d76ae7..f02453ba1d 100644
--- a/Lib/plat-mac/macresource.py
+++ b/Lib/plat-mac/macresource.py
@@ -1,7 +1,7 @@
"""macresource - Locate and open the resources needed for a script."""
from warnings import warnpy3k
-warnpy3k("In 3.x, the macresource module is removed.")
+warnpy3k("In 3.x, the macresource module is removed.", stacklevel=2)
from Carbon import Res
import os