Steven D'Aprano <steve+comp.lang.pyt...@pearwood.info> writes: >>>> x = "spam" > what is the value of the variable x? Is it...? > (1) The string "spam".
Python works about the same way as Lisp or Scheme with regard to this sort of thing, and those languages have been described with quite a bit of mathematical formality. So if you want a precise theoretical treatment you might look at the Scheme report. It should be pretty clear how it carries over to Python. -- http://mail.python.org/mailman/listinfo/python-list