summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-09-12 22:35:45 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2002-09-12 22:35:45 (GMT)
commit89841bda653e5cd2ba8c23759c5e4659fb83cbe5 (patch)
tree759a45a8229f5c4febc567343981d36ac0c2fc26 /Mac
parent76a6ab661bd2de5d6ed8528846c33003cae40aee (diff)
downloadcpython-89841bda653e5cd2ba8c23759c5e4659fb83cbe5.zip
cpython-89841bda653e5cd2ba8c23759c5e4659fb83cbe5.tar.gz
cpython-89841bda653e5cd2ba8c23759c5e4659fb83cbe5.tar.bz2
Shut up FutureWarnings about hex constants.
Diffstat (limited to 'Mac')
-rw-r--r--Mac/Lib/Carbon/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Mac/Lib/Carbon/__init__.py b/Mac/Lib/Carbon/__init__.py
index e69de29..d0cfec3 100644
--- a/Mac/Lib/Carbon/__init__.py
+++ b/Mac/Lib/Carbon/__init__.py
@@ -0,0 +1,4 @@
+# Filter out warnings about signed/unsigned constants
+import warnings
+warnings.filterwarnings("ignore", "", FutureWarning, ".*Controls")
+warnings.filterwarnings("ignore", "", FutureWarning, ".*MacTextEditor") \ No newline at end of file