Skip to content

Commit 9ea205b

Browse files
committed
Website build
1 parent 25512e7 commit 9ea205b

33 files changed

+378
-251
lines changed

.buildinfo

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
2-
# This file records the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: f27d8eb6c49b8fabb6727095c4d669b5
2+
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3+
config: 6f61392e18ce7c2b9a1d6fe847d9f575
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

0_preface.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
1010
<link rel="stylesheet" type="text/css" href="_static/fenics.css?v=8c7d05f9" />
1111
<link rel="stylesheet" type="text/css" href="_static/proof.css" />
12-
<link rel="stylesheet" type="text/css" href="_static/graphviz.css?v=4ae1632d" />
12+
<link rel="stylesheet" type="text/css" href="_static/graphviz.css?v=fd3f3429" />
1313
<script src="_static/documentation_options.js?v=5929fcd5"></script>
14-
<script src="_static/doctools.js?v=9bcbadda"></script>
14+
<script src="_static/doctools.js?v=9a2dae69"></script>
1515
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
1616
<script src="_static/proof.js"></script>
1717
<link rel="index" title="Index" href="genindex.html" />
@@ -236,7 +236,7 @@ <h2>Changes in the second and third editions<a class="headerlink" href="#changes
236236
workspaces in <a class="reference internal" href="2_programs_in_files.html#workspaces"><span class="std std-numref">Section 2.2.1</span></a>, and the Flake8 extension in
237237
<a class="reference internal" href="4_style.html#flake8-extension"><span class="std std-numref">Section 4.2.2</span></a>. Together, these provide correctly integrated code
238238
linting. It also consistently uses <code class="xref py py-obj docutils literal notranslate"><span class="pre">python</span> <span class="pre">-m</span></code> to invoke tools such as <code class="xref py py-obj docutils literal notranslate"><span class="pre">pip</span></code>,
239-
<a class="reference external" href="https://docs.pytest.org/en/latest/index.html#module-pytest" title="(in pytest v8.4.0.dev200)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">pytest</span></code></a> and <code class="xref py py-obj docutils literal notranslate"><span class="pre">flake8</span></code>. This is less error-prone for students. The description
239+
<a class="reference external" href="https://docs.pytest.org/en/latest/index.html#module-pytest" title="(in pytest v8.4.0.dev336)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">pytest</span></code></a> and <code class="xref py py-obj docutils literal notranslate"><span class="pre">flake8</span></code>. This is less error-prone for students. The description
240240
of <a class="reference external" href="https://docs.python.org/3/reference/compound_stmts.html#finally" title="(in Python v3.13)"><code class="xref std std-keyword docutils literal notranslate"><span class="pre">finally</span></code></a> in <a class="reference internal" href="6_exceptions.html#else-finally"><span class="std std-numref">Section 6.5.2</span></a> has been also improved.</p>
241241
</section>
242242
</section>
@@ -250,7 +250,7 @@ <h2>Changes in the second and third editions<a class="headerlink" href="#changes
250250
</div>
251251
<div class="footer" role="contentinfo">
252252
&#169; Copyright 2019-2023, David A. Ham.
253-
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 8.1.3.
253+
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.4.7.
254254
</div>
255255
</body>
256256
</html>

10_further_object-oriented_features.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
1010
<link rel="stylesheet" type="text/css" href="_static/fenics.css?v=8c7d05f9" />
1111
<link rel="stylesheet" type="text/css" href="_static/proof.css" />
12-
<link rel="stylesheet" type="text/css" href="_static/graphviz.css?v=4ae1632d" />
12+
<link rel="stylesheet" type="text/css" href="_static/graphviz.css?v=fd3f3429" />
1313
<script src="_static/documentation_options.js?v=5929fcd5"></script>
14-
<script src="_static/doctools.js?v=9bcbadda"></script>
14+
<script src="_static/doctools.js?v=9a2dae69"></script>
1515
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
1616
<script src="_static/proof.js"></script>
1717
<link rel="index" title="Index" href="genindex.html" />
@@ -89,7 +89,7 @@ <h1><span class="section-number">10. </span>Further object-oriented features<a c
8989
</div>
9090
<p>Decorators are therefore merely <a class="reference internal" href="#term-syntactic-sugar"><span class="xref std std-term">syntactic sugar</span></a>, but can be very useful
9191
in removing the need for boiler-plate code at the top of functions. For
92-
example, your code for <code class="xref std std-numref docutils literal notranslate"><span class="pre">Exercise</span> <span class="pre">%s</span></code> probably contains a lot
92+
example, your code for <a class="reference internal" href="9_trees_and_directed_acyclic_graphs.html#ex-expr"><span class="std std-numref">Exercise 9.6</span></a> probably contains a lot
9393
of repeated code a similar to the following:</p>
9494
<div class="highlight-python3 notranslate"><div class="highlight"><pre><span></span><span class="k">def</span> <span class="fm">__add__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">other</span><span class="p">):</span>
9595
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Return the Expr for the sum of this Expr and another.&quot;&quot;&quot;</span>
@@ -550,7 +550,7 @@ <h2><span class="section-number">10.4. </span>Exercises<a class="headerlink" hre
550550
<div class="proof proof-type-exercise" id="id8">
551551

552552
<div class="proof-title">
553-
<span class="proof-type">Exercise </span>
553+
<span class="proof-type">Exercise 10.1</span>
554554

555555
</div><div class="proof-content">
556556
<p>The objective of this exercise is to write a <a class="reference internal" href="#term-decorator"><span class="xref std std-term">decorator</span></a> which logs
@@ -569,7 +569,7 @@ <h2><span class="section-number">10.4. </span>Exercises<a class="headerlink" hre
569569
</div></div><div class="proof proof-type-exercise" id="id9">
570570

571571
<div class="proof-title">
572-
<span class="proof-type">Exercise </span>
572+
<span class="proof-type">Exercise 10.2</span>
573573

574574
</div><div class="proof-content">
575575
<p>The <code class="xref py py-mod docutils literal notranslate"><span class="pre">groups.groups</span></code> module in the skeleton code is the new version
@@ -605,7 +605,7 @@ <h2><span class="section-number">10.4. </span>Exercises<a class="headerlink" hre
605605
</div>
606606
<div class="footer" role="contentinfo">
607607
&#169; Copyright 2019-2023, David A. Ham.
608-
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 8.1.3.
608+
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.4.7.
609609
</div>
610610
</body>
611611
</html>

1_introduction.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
1010
<link rel="stylesheet" type="text/css" href="_static/fenics.css?v=8c7d05f9" />
1111
<link rel="stylesheet" type="text/css" href="_static/proof.css" />
12-
<link rel="stylesheet" type="text/css" href="_static/graphviz.css?v=4ae1632d" />
12+
<link rel="stylesheet" type="text/css" href="_static/graphviz.css?v=fd3f3429" />
1313
<script src="_static/documentation_options.js?v=5929fcd5"></script>
14-
<script src="_static/doctools.js?v=9bcbadda"></script>
14+
<script src="_static/doctools.js?v=9a2dae69"></script>
1515
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
1616
<script src="_static/proof.js"></script>
1717
<link rel="index" title="Index" href="genindex.html" />
@@ -318,7 +318,7 @@ <h3><span class="section-number">1.2.2. </span>Creating the venv<a class="header
318318
<h2><span class="section-number">1.3. </span>Installing Python packages<a class="headerlink" href="#installing-python-packages" title="Link to this heading"></a></h2>
319319
<p>Suppose we’ve created and activated a venv, and now there’s a Python package
320320
we’d like to have access to. Installation of Python packages is handled by the
321-
Python package <a class="reference external" href="https://pip.pypa.io/en/stable/" title="(in pip v24.3)"><span class="xref std std-doc">Pip</span></a>, which you will usually find
321+
Python package <a class="reference external" href="https://pip.pypa.io/en/stable/" title="(in pip v25.0)"><span class="xref std std-doc">Pip</span></a>, which you will usually find
322322
pre-installed in your Python installation. Pip has many usage options, which
323323
enable a large number of different installation configurations. However, for
324324
most users most of the time, a few simple pip commands suffice. As with
@@ -329,8 +329,8 @@ <h2><span class="section-number">1.3. </span>Installing Python packages<a class=
329329
<p><a class="reference external" href="https://pypi.org">PyPI</a> is the Python Package Index. It is the
330330
official download location for publicly released Python packages which
331331
aren’t themselves a part of the built-in <a class="reference external" href="https://docs.python.org/3/library/index.html" title="(in Python v3.13)"><span class="xref std std-doc">Python Standard Library</span></a>. Many important mathematical packages
332-
including <a class="reference external" href="https://numpy.org/doc/stable/reference/index.html#module-numpy" title="(in NumPy v2.1)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">numpy</span></code></a> and <a class="reference external" href="https://www.sympy.org">sympy</a> are
333-
distributed from PyPI. Suppose your venv doesn’t have <a class="reference external" href="https://numpy.org/doc/stable/reference/index.html#module-numpy" title="(in NumPy v2.1)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">numpy</span></code></a>
332+
including <a class="reference external" href="https://numpy.org/doc/stable/reference/index.html#module-numpy" title="(in NumPy v2.2)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">numpy</span></code></a> and <a class="reference external" href="https://www.sympy.org">sympy</a> are
333+
distributed from PyPI. Suppose your venv doesn’t have <a class="reference external" href="https://numpy.org/doc/stable/reference/index.html#module-numpy" title="(in NumPy v2.2)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">numpy</span></code></a>
334334
installed and you need it. You would install it with the following
335335
terminal command:</p>
336336
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="gp gp-VirtualEnv">(PoP_venv)</span> <span class="gp">$ </span>python<span class="w"> </span>-m<span class="w"> </span>pip<span class="w"> </span>install<span class="w"> </span>numpy
@@ -372,7 +372,7 @@ <h2><span class="section-number">1.4. </span>Glossary<a class="headerlink" href=
372372
</div>
373373
<div class="footer" role="contentinfo">
374374
&#169; Copyright 2019-2023, David A. Ham.
375-
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 8.1.3.
375+
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.4.7.
376376
</div>
377377
</body>
378378
</html>

0 commit comments

Comments
 (0)