Merge lp:~pyotago/practical-programming/iain into lp:practical-programming

Proposed by Iain Hewson
Status: Merged
Merged at revision: 47
Proposed branch: lp:~pyotago/practical-programming/iain
Merge into: lp:practical-programming
Diff against target: 12 lines (+1/-1)
1 file modified
gui_intro.tex (+1/-1)
To merge this branch: bzr merge lp:~pyotago/practical-programming/iain
Reviewer Review Type Date Requested Status
Brendan McCane Pending
Review via email: mp+104630@code.launchpad.net

Description of the change

changed convert parameter to class attribute as suggested in
reply to Fei's email

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'gui_intro.tex'
--- gui_intro.tex 2012-05-02 03:39:49 +0000
+++ gui_intro.tex 2012-05-03 21:38:20 +0000
@@ -284,7 +284,7 @@
284\item Create a new function called \pythoninline{convert\_c\_to\_f} and284\item Create a new function called \pythoninline{convert\_c\_to\_f} and
285devise appropriate doctests to test it.285devise appropriate doctests to test it.
286286
287\item In the \pythoninline{convert} function, add a parameter called287\item In the \pythoninline{convert} function, use a class attribute called
288\pythoninline{forwardConvert} which can be either \pythoninline{True}288\pythoninline{forwardConvert} which can be either \pythoninline{True}
289or \pythoninline{False}. Modify \pythoninline{convert} to use an289or \pythoninline{False}. Modify \pythoninline{convert} to use an
290\pythoninline{if-else} statement to 290\pythoninline{if-else} statement to

Subscribers

People subscribed via source and target branches

to all changes: