projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86bc464
)
Added a deprecation warning.
author
Jack Jansen
<jack.jansen@cwi.nl>
Thu, 27 Feb 2003 23:17:59 +0000
(23:17 +0000)
committer
Jack Jansen
<jack.jansen@cwi.nl>
Thu, 27 Feb 2003 23:17:59 +0000
(23:17 +0000)
Lib/plat-mac/macfs.py
patch
|
blob
|
history
diff --git
a/Lib/plat-mac/macfs.py
b/Lib/plat-mac/macfs.py
index 68abc2c09bb72681f8a845958d7668ecf70c7a6b..8c26dd5fbf8fd01e2a86f7580566d05bd9a3a5b3 100644
(file)
--- 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