You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
single source. Thanks are due to its authors as well as those of the underlying
229
224
LaTeX and TeX typesetting systems.</p>
230
225
</section>
231
-
<sectionid="changes-in-the-second-edition">
232
-
<h2>Changes in the second edition<aclass="headerlink" href="#changes-in-the-second-edition" title="Permalink to this headline">¶</a></h2>
233
-
<p>The second edition is a minor update correcting numerous small issues that have
234
-
been pointed out over the last year. A more substantive change is that the
235
-
explanation of packaging in <aclass="reference internal" href="2_programs_in_files.html#programs-files"><spanclass="std std-numref">Section 2</span></a>has been modernised to use
<h2>Changes in the second and third editions<aclass="headerlink" href="#changes-in-the-second-and-third-editions" title="Link to this heading">¶</a></h2>
228
+
<p>The second edition was a minor update correcting numerous small issues that have
229
+
been pointed out over the last year. A more substantive change was that the
230
+
explanation of packaging in <aclass="reference internal" href="2_programs_in_files.html#programs-files"><spanclass="std std-numref">Section 2</span></a>was modernised to use
236
231
<codeclass="file docutils literal notranslate"><spanclass="pre">pyproject.toml</span></code> in place of <codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">setup.py</span></code>.
237
-
<aclass="reference internal" href="3_objects.html#assignment-and-instantiation"><spanclass="std std-numref">Section 3.5</span></a>has been added in response to confusion
232
+
<aclass="reference internal" href="3_objects.html#assignment-and-instantiation"><spanclass="std std-numref">Section 3.5</span></a>was added in response to confusion
238
233
expressed by a number of students about the distinction between instantiating
239
234
new objects and assigning new variable names to existing objects.</p>
235
+
<p>The third edition is similarly a minor update. In documents Visual Studio Code
236
+
workspaces in <aclass="reference internal" href="2_programs_in_files.html#workspaces"><spanclass="std std-numref">Section 2.2.1</span></a>, and the Flake8 extension in
237
+
<aclass="reference internal" href="4_style.html#flake8-extension"><spanclass="std std-numref">Section 4.2.2</span></a>. Together, these provide correctly integrated code
238
+
linting. It also consistently uses <codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">python</span><spanclass="pre">-m</span></code> to invoke tools such as <codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">pip</span></code>,
239
+
<aclass="reference external" href="https://docs.pytest.org/en/latest/index.html#module-pytest" title="(in pytest v0.1.dev171+gb73b4c4)"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">pytest</span></code></a> and <codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">flake8</span></code>. This is less error-prone for students. The description
240
+
of <aclass="reference external" href="https://docs.python.org/3/reference/compound_stmts.html#finally" title="(in Python v3.11)"><codeclass="xref std std-keyword docutils literal notranslate"><spanclass="pre">finally</span></code></a> in <aclass="reference internal" href="6_exceptions.html#else-finally"><spanclass="std std-numref">Section 6.5.2</span></a> has been also improved.</p>
240
241
</section>
241
242
</section>
242
243
@@ -248,8 +249,8 @@ <h2>Changes in the second edition<a class="headerlink" href="#changes-in-the-sec
248
249
<divclass="clearer"></div>
249
250
</div>
250
251
<divclass="footer" role="contentinfo">
251
-
© Copyright 2019-2023, David A. Ham.
252
-
Created using <ahref="https://www.sphinx-doc.org/">Sphinx</a>4.5.0.
252
+
© Copyright 2019-2023, David A. Ham.
253
+
Created using <ahref="https://www.sphinx-doc.org/">Sphinx</a>7.2.6.
0 commit comments