aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/python/src/Lib/plat-mac/Carbon/__init__.py
blob: 37a9ae3535ab6af59014920198f7937c2a47cef6 (plain) (blame)
1
2
3
4
5
6
7
# Filter out warnings about signed/unsigned constants
import warnings
warnings.filterwarnings("ignore", "", FutureWarning, ".*Controls")
warnings.filterwarnings("ignore", "", FutureWarning, ".*MacTextEditor")

from warnings import warnpy3k
warnpy3k("In 3.x, the Carbon package is removed.", stacklevel=2)