]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_core_ex.py
Lots of demo tweaks for API updates, bug fixes and new images for the
[wxWidgets.git] / wxPython / src / _core_ex.py
index b26ed2113f4596a993254e4f6ff1993aef34cb7e..8bf9c34ef66a3208c772aee98606946da34b0f06 100644 (file)
@@ -1,15 +1,12 @@
 #----------------------------------------------------------------------------
 
-# Use Python's bool constants if available, make aliases if not
+# Use Python's bool constants if available, make some if not
 try:
     True
 except NameError:
-    True = 1==1
-    False = 1==0
+    __builtins__.True = 1==1
+    __builtins__.False = 1==0
 
-# Backwards compaatibility
-TRUE  = true  = True
-FALSE = false = False
 
 
 # workarounds for bad wxRTTI names