summaryrefslogtreecommitdiffstats
path: root/Mac/Lib/lib-compat/Components.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Lib/lib-compat/Components.py')
-rw-r--r--Mac/Lib/lib-compat/Components.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Mac/Lib/lib-compat/Components.py b/Mac/Lib/lib-compat/Components.py
index 904b6bd..cd9e04c 100644
--- a/Mac/Lib/lib-compat/Components.py
+++ b/Mac/Lib/lib-compat/Components.py
@@ -1 +1,4 @@
+import warnings
+warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
+ DeprecationWarning, stacklevel=2)
from Carbon.Components import *