Steven D'Aprano wrote:

while True:

...     print "Looping"
...     True = 0

Just remember that if you use that inside a function, you'll
have to initialise True to True before... er, wait a moment,
that won't work... ah, I know:

  def f(true = True):
    True = true
    while True:
      ...
      True = False

--
Greg
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to