Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
01524d0462793bf352c7518136460e453a738d33
/
.
/
Lib
/
idlelib
/
boolcheck.py
blob: f682232e4958784a046d593cfe2b27d53a1abe86 [
file
] [
log
] [
blame
]
"boolcheck - import this module to ensure True, False, bool() builtins exist."
try
:
True
except
NameError
:
import
__builtin__
__builtin__
.
True
=
1
__builtin__
.
False
=
0
from
operator
import
truth
__builtin__
.
bool
=
truth