commit | abeb7d5f7f8a7db4431521f460d964ff390b4c3c | [log] [tgz] |
---|---|---|
author | Jack Jansen <jack.jansen@cwi.nl> | Thu Feb 27 23:17:59 2003 +0000 |
committer | Jack Jansen <jack.jansen@cwi.nl> | Thu Feb 27 23:17:59 2003 +0000 |
tree | 54d7e507845d8c98ee597fad92d9e38d0acec4d2 | |
parent | 86bc464414bf2122dc569ec6eff94ee2197611a5 [diff] [blame] |
Added a deprecation warning.
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.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