Skip to content

Commit

Permalink
deploy: 6d2e58a
Browse files Browse the repository at this point in the history
  • Loading branch information
whg517 committed Jan 22, 2024
1 parent cd3ffcb commit 6ed6dc0
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 42 deletions.
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

58 changes: 29 additions & 29 deletions sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,147 +2,147 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://pyloong.github.io/pythonic-project-guidelines/</loc>
<lastmod>2023-12-28</lastmod>
<lastmod>2024-01-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://pyloong.github.io/pythonic-project-guidelines/quick_start/</loc>
<lastmod>2023-12-28</lastmod>
<lastmod>2024-01-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://pyloong.github.io/pythonic-project-guidelines/datadevelop/quick_start/etl_develop/</loc>
<lastmod>2023-12-28</lastmod>
<lastmod>2024-01-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://pyloong.github.io/pythonic-project-guidelines/datadevelop/quick_start/initialization/</loc>
<lastmod>2023-12-28</lastmod>
<lastmod>2024-01-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://pyloong.github.io/pythonic-project-guidelines/datadevelop/quick_start/preparation/</loc>
<lastmod>2023-12-28</lastmod>
<lastmod>2024-01-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://pyloong.github.io/pythonic-project-guidelines/datadevelop/quick_start/release/</loc>
<lastmod>2023-12-28</lastmod>
<lastmod>2024-01-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://pyloong.github.io/pythonic-project-guidelines/datadevelop/quick_start/tests/</loc>
<lastmod>2023-12-28</lastmod>
<lastmod>2024-01-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://pyloong.github.io/pythonic-project-guidelines/guidelines/advanced/configuration/</loc>
<lastmod>2023-12-28</lastmod>
<lastmod>2024-01-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://pyloong.github.io/pythonic-project-guidelines/guidelines/advanced/exception/</loc>
<lastmod>2023-12-28</lastmod>
<lastmod>2024-01-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://pyloong.github.io/pythonic-project-guidelines/guidelines/advanced/logging/</loc>
<lastmod>2023-12-28</lastmod>
<lastmod>2024-01-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://pyloong.github.io/pythonic-project-guidelines/guidelines/advanced/plugin/</loc>
<lastmod>2023-12-28</lastmod>
<lastmod>2024-01-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://pyloong.github.io/pythonic-project-guidelines/guidelines/advanced/signal_decouple/</loc>
<lastmod>2023-12-28</lastmod>
<lastmod>2024-01-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://pyloong.github.io/pythonic-project-guidelines/guidelines/advanced/test/</loc>
<lastmod>2023-12-28</lastmod>
<lastmod>2024-01-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://pyloong.github.io/pythonic-project-guidelines/guidelines/advanced/type_hint/</loc>
<lastmod>2023-12-28</lastmod>
<lastmod>2024-01-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://pyloong.github.io/pythonic-project-guidelines/guidelines/project_management/code_lint/</loc>
<lastmod>2023-12-28</lastmod>
<lastmod>2024-01-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://pyloong.github.io/pythonic-project-guidelines/guidelines/project_management/distribution/</loc>
<lastmod>2023-12-28</lastmod>
<lastmod>2024-01-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://pyloong.github.io/pythonic-project-guidelines/guidelines/project_management/document/</loc>
<lastmod>2023-12-28</lastmod>
<lastmod>2024-01-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://pyloong.github.io/pythonic-project-guidelines/guidelines/project_management/project_structure/</loc>
<lastmod>2023-12-28</lastmod>
<lastmod>2024-01-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://pyloong.github.io/pythonic-project-guidelines/guidelines/tutorial/develop/</loc>
<lastmod>2023-12-28</lastmod>
<lastmod>2024-01-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://pyloong.github.io/pythonic-project-guidelines/guidelines/tutorial/init_project/</loc>
<lastmod>2023-12-28</lastmod>
<lastmod>2024-01-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://pyloong.github.io/pythonic-project-guidelines/guidelines/tutorial/publish/</loc>
<lastmod>2023-12-28</lastmod>
<lastmod>2024-01-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://pyloong.github.io/pythonic-project-guidelines/guidelines/tutorial/test/</loc>
<lastmod>2023-12-28</lastmod>
<lastmod>2024-01-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://pyloong.github.io/pythonic-project-guidelines/guidelines/tutorial/tutorial/</loc>
<lastmod>2023-12-28</lastmod>
<lastmod>2024-01-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://pyloong.github.io/pythonic-project-guidelines/introduction/ides/</loc>
<lastmod>2023-12-28</lastmod>
<lastmod>2024-01-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://pyloong.github.io/pythonic-project-guidelines/introduction/install/</loc>
<lastmod>2023-12-28</lastmod>
<lastmod>2024-01-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://pyloong.github.io/pythonic-project-guidelines/introduction/virtualenv/</loc>
<lastmod>2023-12-28</lastmod>
<lastmod>2024-01-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://pyloong.github.io/pythonic-project-guidelines/practices/web/</loc>
<lastmod>2023-12-28</lastmod>
<lastmod>2024-01-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://pyloong.github.io/pythonic-project-guidelines/standard/language_rules/</loc>
<lastmod>2023-12-28</lastmod>
<lastmod>2024-01-22</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://pyloong.github.io/pythonic-project-guidelines/standard/style_rules/</loc>
<lastmod>2023-12-28</lastmod>
<lastmod>2024-01-22</lastmod>
<changefreq>daily</changefreq>
</url>
</urlset>
Binary file modified sitemap.xml.gz
Binary file not shown.
24 changes: 12 additions & 12 deletions standard/style_rules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2487,18 +2487,18 @@ <h3 id="384">3.8.4 类</h3>
</span><span id="__span-36-8"><a id="__codelineno-36-8" name="__codelineno-36-8" href="#__codelineno-36-8"></a><span class="w"> </span><span class="sd">&quot;&quot;&quot;No more cheese is available.&quot;&quot;&quot;</span>
</span></code></pre></div>
</div>
<p>!!! fail "不推荐</p>
<div class="language-text highlight"><pre><span></span><code>```python
class CheeseShopAddress:
&quot;&quot;&quot;Class that describes the address of a cheese shop.

...
&quot;&quot;&quot;

class OutOfCheeseError(Exception):
&quot;&quot;&quot;Raised when no more cheese is available.&quot;&quot;&quot;
```
</code></pre></div>
<div class="admonition fail">
<p class="admonition-title">不推荐</p>
<div class="language-python highlight"><pre><span></span><code><span id="__span-37-1"><a id="__codelineno-37-1" name="__codelineno-37-1" href="#__codelineno-37-1"></a><span class="k">class</span> <span class="nc">CheeseShopAddress</span><span class="p">:</span>
</span><span id="__span-37-2"><a id="__codelineno-37-2" name="__codelineno-37-2" href="#__codelineno-37-2"></a><span class="w"> </span><span class="sd">&quot;&quot;&quot;Class that describes the address of a cheese shop.</span>
</span><span id="__span-37-3"><a id="__codelineno-37-3" name="__codelineno-37-3" href="#__codelineno-37-3"></a>
</span><span id="__span-37-4"><a id="__codelineno-37-4" name="__codelineno-37-4" href="#__codelineno-37-4"></a><span class="sd"> ...</span>
</span><span id="__span-37-5"><a id="__codelineno-37-5" name="__codelineno-37-5" href="#__codelineno-37-5"></a><span class="sd"> &quot;&quot;&quot;</span>
</span><span id="__span-37-6"><a id="__codelineno-37-6" name="__codelineno-37-6" href="#__codelineno-37-6"></a>
</span><span id="__span-37-7"><a id="__codelineno-37-7" name="__codelineno-37-7" href="#__codelineno-37-7"></a><span class="k">class</span> <span class="nc">OutOfCheeseError</span><span class="p">(</span><span class="ne">Exception</span><span class="p">):</span>
</span><span id="__span-37-8"><a id="__codelineno-37-8" name="__codelineno-37-8" href="#__codelineno-37-8"></a><span class="w"> </span><span class="sd">&quot;&quot;&quot;Raised when no more cheese is available.&quot;&quot;&quot;</span>
</span></code></pre></div>
</div>
<h3 id="385">3.8.5 块注释和行注释</h3>
<p>最需要写注释的是代码中那些技巧性的部分。如果你在下次<a href="http://en.wikipedia.org/wiki/Code_review">代码审查</a>
的时候必须解释一下,那么你应该现在就给它写注释。对于复杂的操作,应该在其操作开始前写上若干行注释,对于不是一目了然的代码,应在其行尾添加注释。</p>
Expand Down

0 comments on commit 6ed6dc0

Please sign in to comment.