blob: bc988d7b6806a0278e9405760eeafd98e7618a0d (
plain)
1
2
3
4
5
6
7
8
9
10
|
"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
|