Dennis Lee Bieber wrote:
On Thu, 1 Sep 2011 00:56:50 -0400, Sahil Tandon<sa...@freebsd.org>
# process input, line-by-line, and print responses after parsing input
while 1:
rval = parse(raw_input())
if rval == None:
There is only ONE "None" object so the preferred method is
if rval is None:
Understood; thanks for that enlightenment.
Note: I don't see any exit handler/condition...
Indeed. I excluded such things in the interest of brevity, to focus the
discussion on my question. :)
--
Sahil Tandon <sa...@freebsd.org>
--
http://mail.python.org/mailman/listinfo/python-list