Skip to content

Commit dcd8950

Browse files
committed
Deployed 1e988a7 with MkDocs version: 0.17.3
1 parent d6ac826 commit dcd8950

File tree

5 files changed

+32
-30
lines changed

5 files changed

+32
-30
lines changed
-71 Bytes
Binary file not shown.

09_集合/set_adt.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,6 @@ def __and__(self, other_set):
150150
for element_a in self:
151151
if element_a in other_set:
152152
new_set.add(element_a)
153-
for element_b in other_set:
154-
if element_b in self:
155-
new_set.add(element_b)
156153
return new_set
157154

158155
def __sub__(self, other_set):

index.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,11 @@ <h2 id="_17">工具</h2>
406406
<li>Vscode</li>
407407
<li>Vim/Emacs</li>
408408
</ul>
409+
<p>代码中使用到了 pytest 测试框架和 when-changed 文件变动监控工具(方便我们修改完代码后自动执行测试),你需要用 pip 安装</p>
410+
<pre><code class="py">pip install pytest
411+
pip install when-changed
412+
</code></pre>
413+
409414
<h2 id="_18">勘误</h2>
410415
<p>输出其实也是一种再学习的过程,中途需要查看大量资料、编写讲义、视频录制、代码编写等,难免有疏漏甚至错误之处。
411416
有出版社找过笔者想让我出书,一来自己对出书兴趣不大,另外感觉书籍相对视频不够直观,有错误也不能及时修改,打算直接把所有
@@ -483,5 +488,5 @@ <h2 id="_19">本电子书制作和写作方式</h2>
483488

484489
<!--
485490
MkDocs version : 0.17.3
486-
Build Date UTC : 2018-06-06 23:40:02
491+
Build Date UTC : 2018-06-10 08:18:38
487492
-->

0 commit comments

Comments
 (0)