1.1 --- a/lib/builtins.py Tue Nov 14 23:42:21 2006 +0100
1.2 +++ b/lib/builtins.py Sat Nov 25 00:40:21 2006 +0100
1.3 @@ -21,6 +21,10 @@
1.4 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
1.5 """
1.6
1.7 +class object:
1.8 + def __true__(self):
1.9 + return False
1.10 +
1.11 class boolean:
1.12 def __true__(self):
1.13 return self
1.14 @@ -801,8 +805,7 @@
1.15 i -= 1
1.16 return result
1.17
1.18 -# Special values. None of these definitions should be generated by the compiler.
1.19 -# All such definitions should be made in the underlying implementation.
1.20 +# Special values.
1.21
1.22 True = boolean()
1.23 False = boolean()