cpython/Doc/tutorial
R David Murray 6bd68608ff #21739: mention subtle difference between loops and listcomps in tutorial.
We don't want to go into a full explanation of scopes at this point in the
tutorial, so we just mention that the loop creates or overwrites a persistent
variable while the listcomp doesn't.  Not mentioning this would lead someone
to incorrectly assume loops and listcomps were *completely* equivalent, which
would confuse them later.

Original patch by Rose Ames, tweaked to remove the word 'scope'.
2014-09-30 21:25:38 -04:00
..
appendix.rst Issue #16827: Make Interpreter introduction section of the tutorial more 2014-09-18 21:30:28 +08:00
appetite.rst
classes.rst #22170: avoid printing newlines twice in tutorial example. 2014-08-08 17:23:32 +03:00
controlflow.rst Get rid of deprecated IOError in the doc 2014-04-01 01:13:30 +03:00
datastructures.rst #21739: mention subtle difference between loops and listcomps in tutorial. 2014-09-30 21:25:38 -04:00
errors.rst Get rid of deprecated IOError in the doc 2014-04-01 01:13:30 +03:00
floatingpoint.rst
index.rst Issue #16827: Make Interpreter introduction section of the tutorial more 2014-09-18 21:30:28 +08:00
inputoutput.rst
interactive.rst
interpreter.rst Issue #16827: Make Interpreter introduction section of the tutorial more 2014-09-18 21:30:28 +08:00
introduction.rst Merge in all documentation changes since branching 3.4.0rc1. 2014-03-15 21:13:56 -07:00
modules.rst
stdlib.rst Issue 21554: Repair an out-of-date tutorial example to reflect changes in shutil. 2014-05-22 23:37:09 +01:00
stdlib2.rst
whatnow.rst Merge in all documentation changes since branching 3.4.0rc1. 2014-03-15 21:13:56 -07:00