X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/55b602db523fcc6e3974a61df8080d09cd76b26d..3cebfef17b54f9dacc386f090827b8badb2773d2:/wxPython/src/msw/core.py diff --git a/wxPython/src/msw/core.py b/wxPython/src/msw/core.py index cf73027d64..751bf3a773 100644 --- a/wxPython/src/msw/core.py +++ b/wxPython/src/msw/core.py @@ -9295,6 +9295,8 @@ try: except NameError: __builtins__.True = 1==1 __builtins__.False = 1==0 + def bool(value): return not not value + __builtins__.bool = bool