summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-02-27 23:17:59 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2003-02-27 23:17:59 (GMT)
commitabeb7d5f7f8a7db4431521f460d964ff390b4c3c (patch)
tree54d7e507845d8c98ee597fad92d9e38d0acec4d2
parent86bc464414bf2122dc569ec6eff94ee2197611a5 (diff)
downloadcpython-abeb7d5f7f8a7db4431521f460d964ff390b4c3c.zip
cpython-abeb7d5f7f8a7db4431521f460d964ff390b4c3c.tar.gz
cpython-abeb7d5f7f8a7db4431521f460d964ff390b4c3c.tar.bz2
Added a deprecation warning.
-rw-r--r--Lib/plat-mac/macfs.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/plat-mac/macfs.py b/Lib/plat-mac/macfs.py
index 68abc2c..8c26dd5 100644
--- a/Lib/plat-mac/macfs.py
+++ b/Lib/plat-mac/macfs.py
@@ -7,6 +7,9 @@ import Carbon.Res
import Carbon.File
import warnings
+warnings.warn("macfs is deprecated, use Carbon.File, Carbon.Folder or EasyDialogs",
+ DeprecationWarning, stacklevel=2)
+
# First step: ensure we also emulate the MACFS module, which contained
# all the constants