Skip to content

Commit 5ca28a8

Browse files
committed
fixing typo in generators page
1 parent 5df7639 commit 5ca28a8

File tree

5 files changed

+24
-7
lines changed

5 files changed

+24
-7
lines changed

all.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -890,8 +890,8 @@ <h3>What's next once your development environment is set up?</h3>
890890
<h1>Generators</h1>
891891
<p>Generators are a Python core language construct that allow a function's return
892892
value to to behave as an iterator. A generator can allow more efficient
893-
memory usage by allocating and allocating during the context of a large
894-
number of iterations. Generators are defined in
893+
memory usage by allocating and deallocating memory during the context of a
894+
large number of iterations. Generators are defined in
895895
<a href="https://www.python.org/dev/peps/pep-0255/">PEP255</a> and included in the
896896
language as of Python 2.2 in 2001.</p>
897897
<h2>Python generator resources</h2>

feeds/all.atom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<feed xmlns="http://www.w3.org/2005/Atom"><title>Matt Makai</title><link href="http://www.fullstackpython.com/" rel="alternate"></link><link href="http://www.fullstackpython.com/feeds/all.atom.xml" rel="self"></link><id>http://www.fullstackpython.com/</id><updated>2015-05-04T13:51:03Z</updated></feed>
2+
<feed xmlns="http://www.w3.org/2005/Atom"><title>Matt Makai</title><link href="http://www.fullstackpython.com/" rel="alternate"></link><link href="http://www.fullstackpython.com/feeds/all.atom.xml" rel="self"></link><id>http://www.fullstackpython.com/</id><updated>2015-05-04T21:44:27Z</updated></feed>

generators.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737
<h1>Generators</h1>
3838
<p>Generators are a Python core language construct that allow a function's return
3939
value to to behave as an iterator. A generator can allow more efficient
40-
memory usage by allocating and allocating during the context of a large
41-
number of iterations. Generators are defined in
40+
memory usage by allocating and deallocating memory during the context of a
41+
large number of iterations. Generators are defined in
4242
<a href="https://www.python.org/dev/peps/pep-0255/">PEP255</a> and included in the
4343
language as of Python 2.2 in 2001.</p>
4444
<h2>Python generator resources</h2>

source/content/pages/03-core-python/01-generators.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ meta: Generators allow a function's return value to behave as an iterator via th
88
# Generators
99
Generators are a Python core language construct that allow a function's return
1010
value to to behave as an iterator. A generator can allow more efficient
11-
memory usage by allocating and allocating during the context of a large
12-
number of iterations. Generators are defined in
11+
memory usage by allocating and deallocating memory during the context of a
12+
large number of iterations. Generators are defined in
1313
[PEP255](https://www.python.org/dev/peps/pep-0255/) and included in the
1414
language as of Python 2.2 in 2001.
1515

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<div class="row">
2+
<div class="col-md-4">
3+
<div class="well select-next">
4+
{% include "choices/buttons/generators.html" %}
5+
</div>
6+
</div>
7+
<div class="col-md-4">
8+
<div class="well select-next">
9+
{% include "choices/buttons/comprehensions.html" %}
10+
</div>
11+
</div>
12+
<div class="col-md-4">
13+
<div class="well select-next">
14+
{% include "choices/buttons/web-frameworks.html" %}
15+
</div>
16+
</div>
17+
</div>

0 commit comments

Comments
 (0)