Skip to content

Commit 471dfc2

Browse files
got the lambda / functional part in...
1 parent 8ad93f5 commit 471dfc2

File tree

11 files changed

+1293
-22
lines changed

11 files changed

+1293
-22
lines changed

Syllabus.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ <h3>Week 5: Oct 29</h3>
478478
</div>
479479
<div class="section" id="week-6-november-5">
480480
<h3>Week 6: November 5</h3>
481-
<p>Functional programming, lambda, and callables</p>
481+
<p>Lambda and Functional programming.</p>
482482
<p>Object oriented programming. Classes, instances, and methods</p>
483483
</div>
484484
<div class="section" id="week-7-november-12">

Syllabus.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ Testing
189189
Week 6: November 5
190190
..........................
191191

192-
Functional programming, lambda, and callables
192+
Lambda and Functional programming.
193193

194194
Object oriented programming. Classes, instances, and methods
195195

week-05/code/test_random_pytest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def test_shuffle():
1616
seq.sort()
1717
print "seq:", seq
1818
## expect this to fail -- so we can see the output.
19-
assert seq == range(8)
19+
assert seq == range(10)
2020

2121
def test_shuffle_immutable():
2222
pytest.raises(TypeError, random.shuffle, (1,2,3) )

0 commit comments

Comments
 (0)