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 Merged revisions 66452 via svnmerge from 2008-09-13 17:46:05 +00:00
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 Remove duplication. 2011-10-19 10:58:56 +03:00
index.rst Issue #16827: Make Interpreter introduction section of the tutorial more 2014-09-18 21:30:28 +08:00
inputoutput.rst Issue #18840: Introduce the json module in the tutorial, and deemphasize the pickle module. 2013-12-05 23:46:32 +01:00
interactive.rst Issue #5845: Enable tab-completion in the interactive interpreter by default, thanks to a new sys.__interactivehook__. 2013-05-04 20:08:35 +02:00
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 Issue #6386: When executing a script that's a symlink, the directory 2014-02-06 09:22:51 -05:00
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 Issue #19193: Improved cross-references in the tutorial. 2013-10-09 09:55:21 +03:00
whatnow.rst Merge in all documentation changes since branching 3.4.0rc1. 2014-03-15 21:13:56 -07:00