cpython/Doc/ref
Guido van Rossum 77f6a65eb0 Add the 'bool' type and its values 'False' and 'True', as described in
PEP 285.  Everything described in the PEP is here, and there is even
some documentation.  I had to fix 12 unit tests; all but one of these
were printing Boolean outcomes that changed from 0/1 to False/True.
(The exception is test_unicode.py, which did a type(x) == type(y)
style comparison.  I could've fixed that with a single line using
issubtype(x, type(y)), but instead chose to be explicit about those
places where a bool is expected.

Still to do: perhaps more documentation; change standard library
modules to return False/True from predicates.
2002-04-03 22:41:51 +00:00
..
.cvsignore
ref.tex
ref1.tex Clean up some markup cruft. A number of the macros that take no 2001-11-28 07:26:15 +00:00
ref2.tex Revise the markup related to the grammar productions to increase the 2002-03-15 23:21:37 +00:00
ref3.tex Add the 'bool' type and its values 'False' and 'True', as described in 2002-04-03 22:41:51 +00:00
ref4.tex Restore a minimal definition of execution frame, since other parts of 2002-04-01 21:33:55 +00:00
ref5.tex Given lambda its own section, instead of burying it in boolean operators. 2002-04-01 21:05:21 +00:00
ref6.tex Reword explanation of global statement since an undeclared global is a 2002-04-01 21:25:32 +00:00
ref7.tex Change reference to execframes to naming. 2002-04-01 21:34:28 +00:00
ref8.tex Change the grammar productions to use the new productionlist environment; 2001-07-06 22:49:53 +00:00
refa1.tex Update docs for nested scopes. 2002-04-01 20:38:01 +00:00
reswords.py Import the keyword module instead of relying on our own list of 2001-12-04 20:39:36 +00:00