summaryrefslogtreecommitdiffstats
path: root/Lib/plat-mac/cfmfile.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/plat-mac/cfmfile.py')
-rw-r--r--Lib/plat-mac/cfmfile.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/plat-mac/cfmfile.py b/Lib/plat-mac/cfmfile.py
index 309af87..ddbd468 100644
--- a/Lib/plat-mac/cfmfile.py
+++ b/Lib/plat-mac/cfmfile.py
@@ -6,8 +6,8 @@ __version__ = "0.8b3"
__author__ = "jvr"
import warnings
-warnings.warn("the cfmfile module is deprecated and is removed in 3,0",
- DeprecationWarning, 2)
+warnings.warnpy3k("the cfmfile module is deprecated and is removed in 3,0",
+ stacklevel=2)
import Carbon.File
import struct