Skip to content

Commit 787a00e

Browse files
committed
Website build
1 parent 81b522f commit 787a00e

16 files changed

+408
-404
lines changed

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 v8.5.0.dev154)"><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.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>
239+
<a class="reference external" href="https://docs.pytest.org/en/latest/index.html#module-pytest" title="(in pytest v8.5.0.dev188)"><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.14)"><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: 62 additions & 62 deletions
Large diffs are not rendered by default.

1_introduction.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -228,15 +228,15 @@ <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.13)"><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.14)"><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>
235-
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="go">&gt; py -3.12 -m venv PoP_venv</span>
235+
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="go">&gt; py -3.13 -m venv PoP_venv</span>
236236
</pre></div>
237237
</div>
238238
<p>while on Mac or Linux you would type:</p>
239-
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="gp">$ </span>python3.12<span class="w"> </span>-m<span class="w"> </span>venv<span class="w"> </span>PoP_venv
239+
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="gp">$ </span>python3.13<span class="w"> </span>-m<span class="w"> </span>venv<span class="w"> </span>PoP_venv
240240
</pre></div>
241241
</div>
242242
<p>If you’re using a different version of Python then modify the command according
@@ -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.13)"><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.14)"><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.13)"><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.14)"><span class="xref std std-doc">the official Python venv
305305
documentation</span></a>.</p>
306306
</div>
307307
<div class="admonition hint">
@@ -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.13)"><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.14)"><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 v2.3)"><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 v2.3)"><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)