From abeb7d5f7f8a7db4431521f460d964ff390b4c3c Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Thu, 27 Feb 2003 23:17:59 +0000 Subject: Added a deprecation warning. --- Lib/plat-mac/macfs.py | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v0.12