Skip to content

Commit d3ada3a

Browse files
committed
Website build
1 parent c6e386c commit d3ada3a

27 files changed

Lines changed: 527 additions & 533 deletions

‎.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: 629f8e46ba09436e3a1567cb7f0aec5d
3+
config: 46573a037aa1475423e3411973e7a8c4
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

‎0_preface.html‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,14 +178,14 @@ <h2>Conventions employed<a class="headerlink" href="#conventions-employed" title
178178
<p>The text sometimes introduces counterexamples: illustrations of code errors or
179179
bad implementation ideas. These will be flagged with a big red cross:</p>
180180
<div class="badcode docutils container">
181-
<div class="highlight-python3 notranslate"><div class="highlight"><pre><span></span><span class="nb">print</span> <span class="s2">&quot;Hello World&quot;</span>
181+
<div class="highlight-python3 notranslate"><div class="highlight"><pre><span></span><span class="nb">print</span> <span class="s2">"Hello World"</span>
182182
</pre></div>
183183
</div>
184184
</div>
185185
<p>Conversely, if it’s necessary in context to highlight which approach is the
186186
correct one, the code will come with a big green tick:</p>
187187
<div class="goodcode docutils container">
188-
<div class="highlight-python3 notranslate"><div class="highlight"><pre><span></span><span class="nb">print</span><span class="p">(</span><span class="s2">&quot;Hello World&quot;</span><span class="p">)</span>
188+
<div class="highlight-python3 notranslate"><div class="highlight"><pre><span></span><span class="nb">print</span><span class="p">(</span><span class="s2">"Hello World"</span><span class="p">)</span>
189189
</pre></div>
190190
</div>
191191
</div>
@@ -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 v9.1.0.dev134)"><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 v9.2.0.dev345)"><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.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>

‎10_further_object-oriented_features.html‎

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

‎1_introduction.html‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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 v25.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 v26.2)"><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.14)"><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.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
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.3)"><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.5)"><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.5)"><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

0 commit comments

Comments
 (0)