Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1BASE2 = "01"
2BASE10 = "0123456789"
3BASE16 = "0123456789ABCDEF"
4BASE62 = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz"
6FALSE_VALUES = (
7 0,
8 False,
9 "f",
10 "FALSE",
11 "False",
12 "false",
13 "N",
14 "n",
15 "NO",
16 "No",
17 "no",
18)
19"""A collection of values that should evaluate to ``False``."""
21TRUE_VALUES = (
22 1,
23 True,
24 "t",
25 "TRUE",
26 "True",
27 "true",
28 "Y",
29 "y",
30 "YES",
31 "Yes",
32 "yes",
33)
34"""A collection of values that should evaluate to ``True``."""
36BOOLEAN_VALUES = FALSE_VALUES + TRUE_VALUES
37"""A collection of values that should be identified as boolean."""