X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7409c0c61f30044ad3bdb9abebe750f88b44a5e3..9ec83f8da72081593c79326b30a14e40003c1945:/wxPython/src/mac/core.py diff --git a/wxPython/src/mac/core.py b/wxPython/src/mac/core.py index fb9d986036..bc4641def5 100644 --- a/wxPython/src/mac/core.py +++ b/wxPython/src/mac/core.py @@ -9226,6 +9226,8 @@ try: except NameError: __builtins__.True = 1==1 __builtins__.False = 1==0 + def bool(value): return not not value + __builtins__.bool = bool