Skip to content

Commit 692a9a5

Browse files
committed
Website build
1 parent 4c82bbe commit 692a9a5

File tree

5 files changed

+68
-3
lines changed

5 files changed

+68
-3
lines changed

3_objects.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -933,7 +933,7 @@ <h2><span class="section-number">3.6. </span>Exercises<a class="headerlink" href
933933
whose <a class="reference internal" href="#term-constructor"><span class="xref std std-term">constructor</span></a> takes two user parameters, <code class="xref py py-obj docutils literal notranslate"><span class="pre">centre</span></code> and <code class="xref py py-obj docutils literal notranslate"><span class="pre">radius</span></code>.
934934
<code class="xref py py-obj docutils literal notranslate"><span class="pre">centre</span></code> should be a length 2 sequence containing the two-dimensional
935935
coordinates of the centre, while <code class="xref py py-obj docutils literal notranslate"><span class="pre">radius</span></code> is the radius of the circle.</p></li>
936-
<li><p>Add an <a class="reference internal" href="2_programs_in_files.html#modules"><span class="std std-ref">import</span></a> statement to <code class="file docutils literal notranslate"><span class="pre">shape.__init__.py</span></code> so
936+
<li><p>Add an <a class="reference internal" href="2_programs_in_files.html#modules"><span class="std std-ref">import</span></a> statement to <code class="file docutils literal notranslate"><span class="pre">shape/__init__.py</span></code> so
937937
that the following code works:</p>
938938
<div class="highlight-python3 notranslate"><div class="highlight"><pre><span></span><span class="kn">from</span> <span class="nn">shape</span> <span class="kn">import</span> <span class="n">Circle</span>
939939
</pre></div>

_sources/3_objects.rst.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -934,7 +934,7 @@ the :class:`Polynomial` class.
934934
whose :term:`constructor` takes two user parameters, `centre` and `radius`.
935935
`centre` should be a length 2 sequence containing the two-dimensional
936936
coordinates of the centre, while `radius` is the radius of the circle.
937-
2. Add an :ref:`import <modules>` statement to :file:`shape.__init__.py` so
937+
2. Add an :ref:`import <modules>` statement to :file:`shape/__init__.py` so
938938
that the following code works:
939939

940940
.. code-block:: python3

_sources/quiz_material.rst.txt

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,43 @@
1212
e = a(2)
1313
f = e.c()
1414
g = e.c
15+
16+
17+
.. code-block:: python3
18+
19+
False if a and b else True
20+
21+
.. code-block:: python3
22+
23+
not (a and b)
24+
25+
.. code-block:: python3
26+
27+
not a and b
28+
29+
.. code-block:: python3
30+
31+
not a or not b
32+
33+
.. code-block:: python3
34+
35+
a and b
36+
37+
.. code-block:: python3
38+
39+
(not a) and b
40+
41+
`not` has `and`
42+
43+
`integrate`
44+
45+
`IntegrationMeasure`
46+
47+
`__hash__`
48+
49+
`_prepare_integration`
50+
51+
`problemDomain`
52+
53+
`Lebesgue_Measure`
54+

quiz_material.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,31 @@
7171
<span class="n">g</span> <span class="o">=</span> <span class="n">e</span><span class="o">.</span><span class="n">c</span>
7272
</pre></div>
7373
</div>
74+
<div class="highlight-python3 notranslate"><div class="highlight"><pre><span></span><span class="kc">False</span> <span class="k">if</span> <span class="n">a</span> <span class="ow">and</span> <span class="n">b</span> <span class="k">else</span> <span class="kc">True</span>
75+
</pre></div>
76+
</div>
77+
<div class="highlight-python3 notranslate"><div class="highlight"><pre><span></span><span class="ow">not</span> <span class="p">(</span><span class="n">a</span> <span class="ow">and</span> <span class="n">b</span><span class="p">)</span>
78+
</pre></div>
79+
</div>
80+
<div class="highlight-python3 notranslate"><div class="highlight"><pre><span></span><span class="ow">not</span> <span class="n">a</span> <span class="ow">and</span> <span class="n">b</span>
81+
</pre></div>
82+
</div>
83+
<div class="highlight-python3 notranslate"><div class="highlight"><pre><span></span><span class="ow">not</span> <span class="n">a</span> <span class="ow">or</span> <span class="ow">not</span> <span class="n">b</span>
84+
</pre></div>
85+
</div>
86+
<div class="highlight-python3 notranslate"><div class="highlight"><pre><span></span><span class="n">a</span> <span class="ow">and</span> <span class="n">b</span>
87+
</pre></div>
88+
</div>
89+
<div class="highlight-python3 notranslate"><div class="highlight"><pre><span></span><span class="p">(</span><span class="ow">not</span> <span class="n">a</span><span class="p">)</span> <span class="ow">and</span> <span class="n">b</span>
90+
</pre></div>
91+
</div>
92+
<p><code class="xref py py-obj docutils literal notranslate"><span class="pre">not</span></code> has <code class="xref py py-obj docutils literal notranslate"><span class="pre">and</span></code></p>
93+
<p><code class="xref py py-obj docutils literal notranslate"><span class="pre">integrate</span></code></p>
94+
<p><code class="xref py py-obj docutils literal notranslate"><span class="pre">IntegrationMeasure</span></code></p>
95+
<p><code class="xref py py-obj docutils literal notranslate"><span class="pre">__hash__</span></code></p>
96+
<p><code class="xref py py-obj docutils literal notranslate"><span class="pre">_prepare_integration</span></code></p>
97+
<p><code class="xref py py-obj docutils literal notranslate"><span class="pre">problemDomain</span></code></p>
98+
<p><code class="xref py py-obj docutils literal notranslate"><span class="pre">Lebesgue_Measure</span></code></p>
7499

75100

76101
<div class="clearer"></div>

searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)