From: Guy K. K. <g....@ma...> - 2009-06-29 22:55:23
|
On Tue, 30 Jun 2009 09:36:14 Bruce Sherwood wrote: > I should go through all the docs and change 1/0 to True/False. The history > is that in 2000 Python didn't have True/False. At some point Scherer > implemented true=1 and false=0, but the documentation didn't exploit this. > And then even later True/False got added to Python; I don't remember when > that happened. True and False were added as built in constants in Python 2.3: http://docs.python.org/library/constants.html -- Guy K. Kloss Institute of Information and Mathematical Sciences Te Kura Pūtaiao o Mōhiohio me Pāngarau Massey University, Albany (North Shore City, Auckland) 473 State Highway 17, Gate 1, Mailroom, Quad B Building voice: +64 9 414-0800 ext. 9585 fax: +64 9 441-8181 G....@ma... http://www.massey.ac.nz/~gkloss |