Skip to content

Commit e702ac9

Browse files
committed
Website build
1 parent 87f7401 commit e702ac9

27 files changed

+817
-576
lines changed

.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: abadfc60ad7afb2b31d08feea92d83d7
3+
config: 7ed87b3ef22db55dbec94bb916460d8e
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

0_preface.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,8 @@ <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 v0.1.dev171+gb73b4c4)"><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
240-
of <a class="reference external" href="https://docs.python.org/3/reference/compound_stmts.html#finally" title="(in Python v3.11)"><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>
239+
<a class="reference external" href="https://docs.pytest.org/en/latest/index.html#module-pytest" title="(in pytest v8.2.0.dev30+g0a442a9)"><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
240+
of <a class="reference external" href="https://docs.python.org/3/reference/compound_stmts.html#finally" title="(in Python v3.12)"><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>
243243

10_further_object-oriented_features.html

Lines changed: 63 additions & 63 deletions
Large diffs are not rendered by default.

1_introduction.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ <h3><span class="section-number">1.1.1. </span>Python versions<a class="headerli
228228
<h3><span class="section-number">1.2.2. </span>Creating the venv<a class="headerlink" href="#creating-the-venv" title="Link to this heading"></a></h3>
229229
<p>The most straightforward way to create a venv is on the terminal
230230
command line, not from within Python itself. This is accomplished
231-
using Python’s <a class="reference external" href="https://docs.python.org/3/library/venv.html#module-venv" title="(in Python v3.11)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">venv</span></code></a> package. The venv has to be given a name. You will
231+
using Python’s <a class="reference external" href="https://docs.python.org/3/library/venv.html#module-venv" title="(in Python v3.12)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">venv</span></code></a> package. The venv has to be given a name. You will
232232
want this to be short, but distinctive enough that you know which venv you are
233233
using. For example, to create a venv
234234
called <code class="xref py py-obj docutils literal notranslate"><span class="pre">PoP_venv</span></code> on Windows, you would type:</p>
@@ -292,7 +292,7 @@ <h3><span class="section-number">1.2.2. </span>Creating the venv<a class="header
292292
<p>Any subsequent invocations of Python commands such as <code class="xref py py-obj docutils literal notranslate"><span class="pre">python</span></code> will
293293
now use the version from the venv, with access to whatever packages
294294
you have installed in that venv. If you are using a terminal shell
295-
other than bash or zsh, then see the <a class="reference external" href="https://docs.python.org/3/library/venv.html#module-venv" title="(in Python v3.11)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">venv</span></code></a> package documentation
295+
other than bash or zsh, then see the <a class="reference external" href="https://docs.python.org/3/library/venv.html#module-venv" title="(in Python v3.12)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">venv</span></code></a> package documentation
296296
for the correct activation command.</p>
297297
<div class="admonition hint">
298298
<p class="admonition-title">Hint</p>
@@ -301,7 +301,7 @@ <h3><span class="section-number">1.2.2. </span>Creating the venv<a class="header
301301
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="go">&gt; Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser</span>
302302
</pre></div>
303303
</div>
304-
<p>For further information, see <a class="reference external" href="https://docs.python.org/3/library/venv.html" title="(in Python v3.11)"><span class="xref std std-doc">the official Python venv
304+
<p>For further information, see <a class="reference external" href="https://docs.python.org/3/library/venv.html" title="(in Python v3.12)"><span class="xref std std-doc">the official Python venv
305305
documentation</span></a>.</p>
306306
</div>
307307
<div class="admonition hint">
@@ -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 v23.2)"><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 v24.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
@@ -328,7 +328,7 @@ <h2><span class="section-number">1.3. </span>Installing Python packages<a class=
328328
<span id="install-from-pypi"></span><h3><span class="section-number">1.3.1. </span>Installing packages from PyPI<a class="headerlink" href="#installing-packages-from-pypi" title="Link to this heading"></a></h3>
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
331-
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.11)"><span class="xref std std-doc">Python Standard Library</span></a>. Many important mathematical packages
331+
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.12)"><span class="xref std std-doc">Python Standard Library</span></a>. Many important mathematical packages
332332
including <a class="reference external" href="https://numpy.org/doc/stable/reference/index.html#module-numpy" title="(in NumPy v1.26)"><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
333333
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 v1.26)"><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

0 commit comments

Comments
 (0)