]> granicus.if.org Git - python/commitdiff
Added a deprecation warning.
authorJack Jansen <jack.jansen@cwi.nl>
Thu, 27 Feb 2003 23:17:59 +0000 (23:17 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Thu, 27 Feb 2003 23:17:59 +0000 (23:17 +0000)
Lib/plat-mac/macfs.py

index 68abc2c09bb72681f8a845958d7668ecf70c7a6b..8c26dd5fbf8fd01e2a86f7580566d05bd9a3a5b3 100644 (file)
@@ -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