cpython/Lib/plat-mac/Carbon/__init__.py

8 lines
293 B
Python

# 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, Carbon is removed.", stacklevel=2)