Skip to content

Commit 3bef8fb

Browse files
committed
Fixed links to comprehensions
1 parent 504544d commit 3bef8fb

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1147,7 +1147,7 @@ class Counter:
11471147
#### Python has many different iterator objects:
11481148
* **Iterators returned by the [iter()](#iterator) function, such as list\_iterator and set\_iterator.**
11491149
* **Objects returned by the [itertools](#itertools) module, such as count, repeat and cycle.**
1150-
* **Generators returned by the [generator functions](#generator) and [generator expressions](#comprehension).**
1150+
* **Generators returned by the [generator functions](#generator) and [generator expressions](#comprehensions).**
11511151
* **File objects returned by the [open()](#open) function, etc.**
11521152

11531153
### Callable

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1105,7 +1105,7 @@
11051105
<div><h4 id="pythonhasmanydifferentiteratorobjects">Python has many different iterator objects:</h4><ul>
11061106
<li><strong>Iterators returned by the <a href="#iterator">iter()</a> function, such as list_iterator and set_iterator.</strong></li>
11071107
<li><strong>Objects returned by the <a href="#itertools">itertools</a> module, such as count, repeat and cycle.</strong></li>
1108-
<li><strong>Generators returned by the <a href="#generator">generator functions</a> and <a href="#comprehension">generator expressions</a>.</strong></li>
1108+
<li><strong>Generators returned by the <a href="#generator">generator functions</a> and <a href="#comprehensions">generator expressions</a>.</strong></li>
11091109
<li><strong>File objects returned by the <a href="#open">open()</a> function, etc.</strong></li>
11101110
</ul><div><h3 id="callable">Callable</h3><ul>
11111111
<li><strong>All functions and classes have a call() method, hence are callable.</strong></li>

pdf/index_for_pdf.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ <h3 id="c">C</h3>
2828
<strong>combinatorics, <a href="#combinatorics">8</a></strong><br>
2929
<strong>command line arguments, <a href="#commandlinearguments">22</a></strong><br>
3030
<strong>comparable, <a href="#comparable">16</a></strong><br>
31-
<strong>comprehension, <a href="#comprehension">11</a></strong><br>
31+
<strong>comprehensions, <a href="#comprehensions">11</a></strong><br>
3232
<strong>context manager, <a href="#contextmanager">17</a></strong><br>
3333
<strong>copy function, <a href="#copy">15</a></strong><br>
3434
<strong>coroutine, <a href="#coroutines">33</a></strong><br>
@@ -56,7 +56,7 @@ <h3 id="f">F</h3>
5656
<strong>functools module, <a href="#mapfilterreduce">11</a>, <a href="#partial">12</a>, <a href="#decorator">13</a>, <a href="#sortable">16</a></strong><br>
5757
<strong>futures, <a href="#threadpool">30</a></strong> </p>
5858
<h3 id="g">G</h3>
59-
<p><strong>generators, <a href="#generator">4</a>, <a href="#comprehension">11</a></strong><br>
59+
<p><strong>generators, <a href="#generator">4</a>, <a href="#comprehensions">11</a></strong><br>
6060
<strong>global keyword, <a href="#nonlocal">12</a></strong></p>
6161
<h3 id="h">H</h3>
6262
<p><strong>hashable, <a href="#hashable">16</a></strong><br>
@@ -75,7 +75,7 @@ <h3 id="j">J</h3>
7575
<p><strong>json module, <a href="#json">25</a>, <a href="#encodedecode">46</a></strong> </p>
7676
<h3 id="l">L</h3>
7777
<p><strong>lambda, <a href="#lambda">11</a></strong><br>
78-
<strong>list comprehension, <a href="#comprehension">11</a></strong><br>
78+
<strong>list comprehension, <a href="#comprehensions">11</a></strong><br>
7979
<strong>lists, <a href="#list">1</a>-<a href="#list">2</a>, <a href="#otheruses">11</a></strong><br>
8080
<strong>locks, <a href="#lock">29</a></strong><br>
8181
<strong>logging, <a href="#logging">35</a></strong> </p>

pdf/index_for_pdf_print.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ <h3 id="c">C</h3>
2828
<strong>combinatorics, 8</strong><br>
2929
<strong>command line arguments, 22</strong><br>
3030
<strong>comparable, 16</strong><br>
31-
<strong>comprehension, 11</strong><br>
31+
<strong>comprehensions, 11</strong><br>
3232
<strong>context manager, 17</strong><br>
3333
<strong>copy function, 15</strong><br>
3434
<strong>coroutine, 33</strong><br>

0 commit comments

Comments
 (0)