diff options
| author | Benjamin Peterson <benjamin@python.org> | 2008-05-12 21:42:13 (GMT) |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2008-05-12 21:42:13 (GMT) |
| commit | 236819310db3fe6f2fb22d48b780fa6ec253b6c7 (patch) | |
| tree | ce5ca9792381d9ced99e8e871324891ddbeb0e28 /Lib/plat-mac/cfmfile.py | |
| parent | f9b54c24114b15ff920249244fe361aee276c248 (diff) | |
| download | cpython-236819310db3fe6f2fb22d48b780fa6ec253b6c7.zip cpython-236819310db3fe6f2fb22d48b780fa6ec253b6c7.tar.gz cpython-236819310db3fe6f2fb22d48b780fa6ec253b6c7.tar.bz2 | |
Add warnings to and deprecated all those Mac modules
Diffstat (limited to 'Lib/plat-mac/cfmfile.py')
| -rw-r--r-- | Lib/plat-mac/cfmfile.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Lib/plat-mac/cfmfile.py b/Lib/plat-mac/cfmfile.py index 91ab0a6..309af87 100644 --- a/Lib/plat-mac/cfmfile.py +++ b/Lib/plat-mac/cfmfile.py @@ -5,15 +5,16 @@ __version__ = "0.8b3" __author__ = "jvr" +import warnings +warnings.warn("the cfmfile module is deprecated and is removed in 3,0", + DeprecationWarning, 2) + import Carbon.File import struct from Carbon import Res import os import sys -import warnings -warnings.warn("the cfmfile module is deprecated", DeprecationWarning, 2) - DEBUG = 0 error = "cfm.error" |
