Skip to content

Commit 916628d

Browse files
committed
update errata
1 parent 05555eb commit 916628d

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

‎pages/errata.html‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,18 @@ <h2>Chapter 7</h2>
121121
<p>On page 204, in the first paragraph, the first property should be &quot;..the function value for x is always greater then or equal 0&quot;.</p>
122122
<p>(Thanks to Elmar Bucher for pointing this out)</p>
123123
</div>
124+
<div class="section" id="appendix-b">
125+
<h2>Appendix B</h2>
126+
<p>On page 226, in &quot;Multiple Return Values&quot;, the code snippet to call the <cite>components()</cite>
127+
functions should be:</p>
128+
<pre class="code literal-block">
129+
if __name__ == '__main__':
130+
u = 5
131+
theta = math.radians(45)
132+
x, y = components(u, theta)
133+
</pre>
134+
<p>(Thanks to a reader for pointing it out)</p>
135+
</div>
124136

125137
</section>
126138
<section id="extras" class="body">

0 commit comments

Comments
 (0)