X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7409c0c61f30044ad3bdb9abebe750f88b44a5e3..3cebfef17b54f9dacc386f090827b8badb2773d2:/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