Mercurial > python-for-js-programmers
changeset 44:a7ea59542904
Minor style change
author | Atul Varma <varmaa@toolness.com> |
---|---|
date | Fri, 06 Jun 2008 13:48:08 -0700 |
parents | 2a9697cc9e55 |
children | 5f5e7c489b4e |
files | PythonForJsProgrammers.html PythonForJsProgrammers.txt |
diffstat | 2 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/PythonForJsProgrammers.html Fri Jun 06 13:46:27 2008 -0700 +++ b/PythonForJsProgrammers.html Fri Jun 06 13:48:08 2008 -0700 @@ -726,8 +726,8 @@ <p>As mentioned at the beginning of this document, some of JavaScript's latest features have been borrowed directly from Python.</p> <p>In particular, <a class="reference" href="http://www.python.org/dev/peps/pep-0255/">generators</a>, <a class="reference" href="http://docs.python.org/lib/typeiter.html">iterators</a>, <a class="reference" href="http://www.python.org/dev/peps/pep-0289/">generator expressions</a>, -and <a class="reference" href="http://docs.python.org/tut/node7.html#SECTION007140000000000000000">list comprehensions</a> work almost identically to their JavaScript -1.7 <a class="reference" href="http://wiki.ecmascript.org/doku.php?id=proposals:iterators_and_generators">counterparts</a>.</p> +and <a class="reference" href="http://docs.python.org/tut/node7.html#SECTION007140000000000000000">list comprehensions</a> work almost identically to their <a class="reference" href="http://wiki.ecmascript.org/doku.php?id=proposals:iterators_and_generators">JavaScript +1.7 counterparts</a>.</p> </div> <div class="section"> <h1><a id="caveats" name="caveats">Caveats</a></h1>
--- a/PythonForJsProgrammers.txt Fri Jun 06 13:46:27 2008 -0700 +++ b/PythonForJsProgrammers.txt Fri Jun 06 13:48:08 2008 -0700 @@ -667,14 +667,14 @@ latest features have been borrowed directly from Python. In particular, `generators`_, `iterators`_, `generator expressions`_, -and `list comprehensions`_ work almost identically to their JavaScript -1.7 `counterparts`_. +and `list comprehensions`_ work almost identically to their `JavaScript +1.7 counterparts`_. .. _`generators`: http://www.python.org/dev/peps/pep-0255/ .. _`iterators`: http://docs.python.org/lib/typeiter.html .. _`generator expressions`: http://www.python.org/dev/peps/pep-0289/ .. _`list comprehensions`: http://docs.python.org/tut/node7.html#SECTION007140000000000000000 -.. _`counterparts`: http://wiki.ecmascript.org/doku.php?id=proposals:iterators_and_generators +.. _`JavaScript 1.7 counterparts`: http://wiki.ecmascript.org/doku.php?id=proposals:iterators_and_generators Caveats =======