Skip to content

Commit c5a275d

Browse files
updated docs
1 parent 414b15e commit c5a275d

File tree

9 files changed

+215
-207
lines changed

9 files changed

+215
-207
lines changed

docs/.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: 78de2de3daa28593813e652392adff6c
3+
config: 297d168aa7cabcbd2216be5f91255ac8
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

docs/_static/copybutton.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const messages = {
2020
},
2121
'fr' : {
2222
'copy': 'Copier',
23-
'copy_to_clipboard': 'Copié dans le presse-papier',
23+
'copy_to_clipboard': 'Copier dans le presse-papier',
2424
'copy_success': 'Copié !',
2525
'copy_failure': 'Échec de la copie',
2626
},
@@ -224,7 +224,7 @@ var copyTargetText = (trigger) => {
224224
var target = document.querySelector(trigger.attributes['data-clipboard-target'].value);
225225

226226
// get filtered text
227-
let exclude = '.linenos, .gp';
227+
let exclude = '.linenos';
228228

229229
let text = filterText(target, exclude);
230230
return formatCopyText(text, '', false, true, true, true, '', '')

docs/prodigiouspython/Chapter_1/10_String_representations_of_objects.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -433,8 +433,8 @@ <h1><span class="section-number">10. </span>String representations of objects: s
433433
</div>
434434
</div>
435435
<div class="cell_output docutils container">
436-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>The repr of now is: datetime.datetime(2023, 4, 1, 17, 49, 10, 143766)
437-
The str of now is: 2023-04-01 17:49:10.143766
436+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>The repr of now is: datetime.datetime(2023, 4, 21, 19, 22, 1, 275735)
437+
The str of now is: 2023-04-21 19:22:01.275735
438438
</pre></div>
439439
</div>
440440
</div>
@@ -453,8 +453,8 @@ <h1><span class="section-number">10. </span>String representations of objects: s
453453
</div>
454454
</div>
455455
<div class="cell_output docutils container">
456-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>The repr of language_obj is: &lt;__main__.ProgrammingLanguage object at 0x7ff40dff8250&gt;
457-
The str of language_obj is: &lt;__main__.ProgrammingLanguage object at 0x7ff40dff8250&gt;
456+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>The repr of language_obj is: &lt;__main__.ProgrammingLanguage object at 0x7f48c7eab220&gt;
457+
The str of language_obj is: &lt;__main__.ProgrammingLanguage object at 0x7f48c7eab220&gt;
458458
</pre></div>
459459
</div>
460460
</div>
@@ -484,7 +484,7 @@ <h1><span class="section-number">10. </span>String representations of objects: s
484484
</div>
485485
</div>
486486
<div class="cell_output docutils container">
487-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>The repr of human_obj is: Human(name=IronMan, age=48) object at 0x7ff40dff9d50
487+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>The repr of human_obj is: Human(name=IronMan, age=48) object at 0x7f48c7eab520
488488
The str of human_obj is: I am IronMan of age 48
489489
</pre></div>
490490
</div>

docs/prodigiouspython/Chapter_1/4_Datatypes.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ <h2><span class="section-number">4.10. </span><strong>set</strong><a class="head
744744
</div>
745745
</div>
746746
<div class="cell_output docutils container">
747-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>{3, 4, &#39;Golang&#39;, 6, &#39;Python&#39;, 10}
747+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>{&#39;Python&#39;, 3, 4, 6, 10, &#39;Golang&#39;}
748748
</pre></div>
749749
</div>
750750
</div>

docs/prodigiouspython/Chapter_1/5_Collection_Types.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,7 @@ <h2><span class="section-number">5.3. </span>Set<a class="headerlink" href="#set
707707
</div>
708708
</div>
709709
<div class="cell_output docutils container">
710-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>{&#39;Dragon ball&#39;, &#39;One Piece&#39;, &#39;Full Metal Alchemist&#39;, &#39;Naruto&#39;, &#39;Death Note&#39;}
710+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>{&#39;Dragon ball&#39;, &#39;Naruto&#39;, &#39;Full Metal Alchemist&#39;, &#39;One Piece&#39;, &#39;Death Note&#39;}
711711
</pre></div>
712712
</div>
713713
</div>
@@ -721,7 +721,7 @@ <h2><span class="section-number">5.3. </span>Set<a class="headerlink" href="#set
721721
</div>
722722
</div>
723723
<div class="cell_output docutils container">
724-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>{&#39;Dragon ball&#39;, &#39;One Piece&#39;, &#39;Full Metal Alchemist&#39;, &#39;Naruto&#39;, &#39;Death Note&#39;, &#39;Tokyo Ghoul&#39;}
724+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>{&#39;Dragon ball&#39;, &#39;Naruto&#39;, &#39;Full Metal Alchemist&#39;, &#39;One Piece&#39;, &#39;Tokyo Ghoul&#39;, &#39;Death Note&#39;}
725725
</pre></div>
726726
</div>
727727
</div>
@@ -741,7 +741,7 @@ <h2><span class="section-number">5.3. </span>Set<a class="headerlink" href="#set
741741
</div>
742742
</div>
743743
<div class="cell_output docutils container">
744-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>{&#39;Dragon ball&#39;, &#39;One Piece&#39;, &#39;Full Metal Alchemist&#39;, &#39;Naruto&#39;, &#39;Death Note&#39;}
744+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>{&#39;Dragon ball&#39;, &#39;Naruto&#39;, &#39;Full Metal Alchemist&#39;, &#39;One Piece&#39;, &#39;Death Note&#39;}
745745
</pre></div>
746746
</div>
747747
</div>

docs/prodigiouspython/Chapter_4/1_Functions.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -568,12 +568,12 @@ <h3><span class="section-number">15.2.3. </span>Returning a function<a class="he
568568
<div class="highlight-ipython3 notranslate"><div class="highlight"><pre><span></span><span class="n">obj</span> <span class="o">=</span> <span class="n">lets_return_a_function</span><span class="p">()</span>
569569
<span class="nb">print</span><span class="p">(</span><span class="sa">f</span><span class="s2">&quot;obj is </span><span class="si">{</span><span class="n">obj</span><span class="si">}</span><span class="s2">&quot;</span><span class="p">)</span>
570570
<span class="nb">print</span><span class="p">(</span><span class="sa">f</span><span class="s2">&quot;obj name is </span><span class="si">{</span><span class="n">obj</span><span class="o">.</span><span class="vm">__name__</span><span class="si">}</span><span class="s2">&quot;</span><span class="p">)</span>
571-
<span class="nb">print</span><span class="p">(</span><span class="sa">f</span><span class="s2">&quot;Is obj callable? </span><span class="si">{</span><span class="n">callable</span><span class="p">(</span><span class="n">obj</span><span class="p">)</span><span class="si">}</span><span class="s2">&quot;</span><span class="p">)</span>
571+
<span class="nb">print</span><span class="p">(</span><span class="sa">f</span><span class="s2">&quot;Is obj callable? </span><span class="si">{</span><span class="nb">callable</span><span class="p">(</span><span class="n">obj</span><span class="p">)</span><span class="si">}</span><span class="s2">&quot;</span><span class="p">)</span>
572572
</pre></div>
573573
</div>
574574
</div>
575575
<div class="cell_output docutils container">
576-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>obj is &lt;function first_function at 0x7f8bf44d0280&gt;
576+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>obj is &lt;function first_function at 0x7f44bace8790&gt;
577577
obj name is first_function
578578
Is obj callable? True
579579
</pre></div>

docs/prodigiouspython/Chapter_5/3_Comparison_Operators.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -769,8 +769,8 @@ <h2><span class="section-number">25.7. </span><code class="docutils literal notr
769769
</div>
770770
</div>
771771
<div class="cell_output docutils container">
772-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>140265460693312
773-
140265460693312
772+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>140628796247168
773+
140628796247168
774774
id of a is equal to id of b: True
775775
</pre></div>
776776
</div>
@@ -791,7 +791,7 @@ <h2><span class="section-number">25.7. </span><code class="docutils literal notr
791791
</div>
792792
</div>
793793
<div class="cell_output docutils container">
794-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>id of a is 140265460698880 and b is 140265460488576
794+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>id of a is 140628795993024 and b is 140628796251584
795795
True
796796
False
797797
</pre></div>
@@ -835,7 +835,7 @@ <h2><span class="section-number">25.8. </span><code class="docutils literal notr
835835
</div>
836836
</div>
837837
<div class="cell_output docutils container">
838-
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>id of x is 140265460421632 and y is 140265460688960
838+
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>id of x is 140628795997056 and y is 140628796251520
839839
True
840840
</pre></div>
841841
</div>

docs/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)