Skip to content

Commit ea5d4a3

Browse files
committed
Fix some typos
1 parent eb13cd3 commit ea5d4a3

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

notebooks/intermediate/html/std_lib2.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11857,7 +11857,7 @@ <h3 id="Encoding">Encoding<a class="anchor-link" href="#Encoding">&#182;</a></h3
1185711857

1185811858

1185911859
<div class="output_subarea output_stream output_stdout output_text">
11860-
<pre>type: &lt;class &#39;str&#39;&gt; data: {&#34;a&#34;: 1, &#34;some_list&#34;: [1, 2, 3], &#34;b&#34;: true, &#34;c&#34;: null, &#34;nested&#34;: {&#34;foo&#34;: &#34;bar&#34;}}
11860+
<pre>type: &lt;class &#39;str&#39;&gt; data: {&#34;c&#34;: null, &#34;b&#34;: true, &#34;some_list&#34;: [1, 2, 3], &#34;a&#34;: 1, &#34;nested&#34;: {&#34;foo&#34;: &#34;bar&#34;}}
1186111861
</pre>
1186211862
</div>
1186311863
</div>
@@ -11897,7 +11897,7 @@ <h3 id="Decoding">Decoding<a class="anchor-link" href="#Decoding">&#182;</a></h3
1189711897

1189811898

1189911899
<div class="output_subarea output_stream output_stdout output_text">
11900-
<pre>type: &lt;class &#39;dict&#39;&gt; data: {&#39;a&#39;: 1, &#39;some_list&#39;: [1, 2, 3], &#39;b&#39;: True, &#39;c&#39;: None, &#39;nested&#39;: {&#39;foo&#39;: &#39;bar&#39;}}
11900+
<pre>type: &lt;class &#39;dict&#39;&gt; data: {&#39;c&#39;: None, &#39;nested&#39;: {&#39;foo&#39;: &#39;bar&#39;}, &#39;b&#39;: True, &#39;some_list&#39;: [1, 2, 3], &#39;a&#39;: 1}
1190111901
</pre>
1190211902
</div>
1190311903
</div>
@@ -11939,7 +11939,7 @@ <h3 id="MagicMock"><a href="https://docs.python.org/3/library/unittest.mock.html
1193911939
<span class="bp">self</span><span class="o">.</span><span class="n">creds</span> <span class="o">=</span> <span class="p">(</span><span class="n">username</span><span class="p">,</span> <span class="n">password</span><span class="p">)</span>
1194011940

1194111941
<span class="k">def</span> <span class="nf">fetch_some_data</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
11942-
<span class="nb">print</span><span class="p">(</span><span class="s1">&#39;Here we could for example fetch data from 3rd API and return the data.&#39;</span><span class="p">)</span>
11942+
<span class="nb">print</span><span class="p">(</span><span class="s1">&#39;Here we could for example fetch data from 3rd party API and return the data.&#39;</span><span class="p">)</span>
1194311943
<span class="nb">print</span><span class="p">(</span><span class="s1">&#39;Now we will just return some random number between 1-100.&#39;</span><span class="p">)</span>
1194411944
<span class="k">return</span> <span class="n">random</span><span class="o">.</span><span class="n">randint</span><span class="p">(</span><span class="mi">1</span><span class="p">,</span> <span class="mi">100</span><span class="p">)</span>
1194511945

@@ -12066,7 +12066,7 @@ <h3 id="patch"><a href="https://docs.python.org/3/library/unittest.mock.html#uni
1206612066
<span class="nb">print</span><span class="p">(</span><span class="s1">&#39;All good, woop woop!&#39;</span><span class="p">)</span>
1206712067

1206812068

12069-
<span class="n">test_do_something_fancy</span><span class="p">()</span> <span class="c1"># This just for the sake of example</span>
12069+
<span class="n">test_do_something_fancy</span><span class="p">()</span> <span class="c1"># This is just for the sake of example</span>
1207012070
</pre></div>
1207112071

1207212072
</div>
@@ -12252,7 +12252,7 @@ <h3 id="defaultdict"><a href="https://docs.python.org/3/library/collections.html
1225212252

1225312253

1225412254
<div class="output_subarea output_stream output_stdout output_text">
12255-
<pre>{&#39;odd&#39;: [1, 3, 3, 5, 7], &#39;even&#39;: [2, 4, 2, 6]}
12255+
<pre>{&#39;even&#39;: [2, 4, 2, 6], &#39;odd&#39;: [1, 3, 3, 5, 7]}
1225612256
</pre>
1225712257
</div>
1225812258
</div>
@@ -12300,7 +12300,7 @@ <h3 id="defaultdict"><a href="https://docs.python.org/3/library/collections.html
1230012300

1230112301

1230212302
<div class="output_subarea output_stream output_stdout output_text">
12303-
<pre>defaultdict(&lt;class &#39;list&#39;&gt;, {&#39;odd&#39;: [1, 3, 3, 5, 7], &#39;even&#39;: [2, 4, 2, 6]})
12303+
<pre>defaultdict(&lt;class &#39;list&#39;&gt;, {&#39;even&#39;: [2, 4, 2, 6], &#39;odd&#39;: [1, 3, 3, 5, 7]})
1230412304
</pre>
1230512305
</div>
1230612306
</div>
@@ -12347,7 +12347,7 @@ <h3 id="defaultdict"><a href="https://docs.python.org/3/library/collections.html
1234712347

1234812348

1234912349
<div class="output_subarea output_stream output_stdout output_text">
12350-
<pre>defaultdict(&lt;class &#39;int&#39;&gt;, {&#39;odd_count&#39;: 5, &#39;even_count&#39;: 4})
12350+
<pre>defaultdict(&lt;class &#39;int&#39;&gt;, {&#39;even_count&#39;: 4, &#39;odd_count&#39;: 5})
1235112351
</pre>
1235212352
</div>
1235312353
</div>

notebooks/intermediate/notebooks/std_lib2.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
" self.creds = (username, password)\n",
9595
" \n",
9696
" def fetch_some_data(self):\n",
97-
" print('Here we could for example fetch data from 3rd API and return the data.')\n",
97+
" print('Here we could for example fetch data from 3rd party API and return the data.')\n",
9898
" print('Now we will just return some random number between 1-100.')\n",
9999
" return random.randint(1, 100)\n",
100100
"\n",
@@ -175,7 +175,7 @@
175175
" print('All good, woop woop!')\n",
176176
" \n",
177177
" \n",
178-
"test_do_something_fancy() # This just for the sake of example"
178+
"test_do_something_fancy() # This is just for the sake of example"
179179
]
180180
},
181181
{

0 commit comments

Comments
 (0)