Skip to content

Commit 40bb88f

Browse files
committed
Deploying to gh-pages from @ a4719a1 🚀
1 parent 79d86dc commit 40bb88f

18 files changed

+83
-52
lines changed

_sources/tutorial/introduction.rst.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ type, i.e. it is possible to change their content::
428428
[1, 8, 27, 64, 125]
429429

430430
You can also add new items at the end of the list, by using
431-
the :meth:`~list.append` *method* (we will see more about methods later)::
431+
the :meth:`!list.append` *method* (we will see more about methods later)::
432432

433433
>>> cubes.append(216) # add the cube of 6
434434
>>> cubes.append(7 ** 3) # and the cube of 7

bugs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ <h2>說明文件的錯誤<a class="headerlink" href="#documentation-bugs" title=
224224
</section>
225225
<section id="getting-started-contributing-to-python-yourself">
226226
<span id="contributing-to-python"></span><h2>開始讓自己貢獻 Python<a class="headerlink" href="#getting-started-contributing-to-python-yourself" title="Link to this heading"></a></h2>
227-
<p>除了只是回報您所發現的錯誤之外,同樣也歡迎您提交修正它們的修補程式 (patch)。您可以在 <a class="reference external" href="https://devguide.python.org/">Python 開發者指南</a>中找到如何開始修補 Python 的更多資訊。如果您有任何問題,<a class="reference external" href="https://mail.python.org/mailman3/lists/core-mentorship.python.org/">核心導師郵寄清單</a>是一個友善的地方,您可以在那裡得到,關於 Python 修正錯誤的過程中,所有問題的答案。</p>
227+
<p>除了只是回報您所發現的錯誤之外,同樣也歡迎您提交修正它們的修補程式 (patch)。您可以在 <a class="reference external" href="https://mail.python.org/mailman3/lists/core-mentorship.python.org/">Python 開發者指南</a>中找到如何開始修補 Python 的更多資訊。如果您有任何問題,<a class="reference external" href="https://devguide.python.org/">核心導師郵寄清單</a>是一個友善的地方,您可以在那裡得到,關於 Python 修正錯誤的過程中,所有問題的答案。</p>
228228
</section>
229229
</section>
230230

contents.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4100,8 +4100,8 @@ <h1>Python 說明文件內容<a class="headerlink" href="#python-documentation-c
41004100
</ul>
41014101
</li>
41024102
<li class="toctree-l2"><a class="reference internal" href="library/text.html">文本處理 (Text Processing) 服務</a><ul>
4103-
<li class="toctree-l3"><a class="reference internal" href="library/string.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">string</span></code> --- Common string operations</a><ul>
4104-
<li class="toctree-l4"><a class="reference internal" href="library/string.html#string-constants">String constants</a><ul>
4103+
<li class="toctree-l3"><a class="reference internal" href="library/string.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">string</span></code> --- 常見的字串操作</a><ul>
4104+
<li class="toctree-l4"><a class="reference internal" href="library/string.html#string-constants">字串常數</a><ul>
41054105
<li class="toctree-l5"><a class="reference internal" href="library/string.html#string.ascii_letters"><code class="docutils literal notranslate"><span class="pre">ascii_letters</span></code></a></li>
41064106
<li class="toctree-l5"><a class="reference internal" href="library/string.html#string.ascii_lowercase"><code class="docutils literal notranslate"><span class="pre">ascii_lowercase</span></code></a></li>
41074107
<li class="toctree-l5"><a class="reference internal" href="library/string.html#string.ascii_uppercase"><code class="docutils literal notranslate"><span class="pre">ascii_uppercase</span></code></a></li>
@@ -4128,7 +4128,7 @@ <h1>Python 說明文件內容<a class="headerlink" href="#python-documentation-c
41284128
</ul>
41294129
</li>
41304130
<li class="toctree-l4"><a class="reference internal" href="library/string.html#format-string-syntax">格式化文字語法</a><ul>
4131-
<li class="toctree-l5"><a class="reference internal" href="library/string.html#format-specification-mini-language">Format Specification Mini-Language</a></li>
4131+
<li class="toctree-l5"><a class="reference internal" href="library/string.html#format-specification-mini-language">格式規格 (Format Specification) 迷你語言</a></li>
41324132
<li class="toctree-l5"><a class="reference internal" href="library/string.html#format-examples">Format examples</a></li>
41334133
</ul>
41344134
</li>

genindex-all.html

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,8 @@ <h1 id="index">索引</h1>
153153
| <a href="#"><strong></strong></a>
154154
| <a href="#A"><strong>A</strong></a>
155155
| <a href="#"><strong></strong></a>
156+
| <a href="#A"><strong>A</strong></a>
157+
| <a href="#"><strong></strong></a>
156158
| <a href="#B"><strong>B</strong></a>
157159
| <a href="#"><strong></strong></a>
158160
| <a href="#B"><strong>B</strong></a>
@@ -308,6 +310,8 @@ <h1 id="index">索引</h1>
308310
| <a href="#P"><strong>P</strong></a>
309311
| <a href="#"><strong></strong></a>
310312
| <a href="#P"><strong>P</strong></a>
313+
| <a href="#"><strong></strong></a>
314+
| <a href="#P"><strong>P</strong></a>
311315
| <a href="#Q"><strong>Q</strong></a>
312316
| <a href="#"><strong></strong></a>
313317
| <a href="#Q"><strong>Q</strong></a>
@@ -4672,6 +4676,8 @@ <h2 id="A">A</h2>
46724676
</li>
46734677
<li><a href="library/wsgiref.html#wsgiref.util.application_uri">application_uri() (於 wsgiref.util 模組中)</a>
46744678
</li>
4679+
</ul></td>
4680+
<td style="width: 33%; vertical-align: top;"><ul>
46754681
<li><a href="library/2to3.html#to3fixer-apply">apply (2to3 fixer)</a>
46764682
</li>
46774683
<li><a href="library/multiprocessing.html#multiprocessing.pool.Pool.apply">apply() (multiprocessing.pool.Pool 的方法)</a>
@@ -4731,6 +4737,12 @@ <h2 id="A">A</h2>
47314737
</ul></li>
47324738
<li><a href="library/argparse.html#argparse.ArgumentTypeError">ArgumentTypeError</a>
47334739
</li>
4740+
</ul></td>
4741+
</tr></table>
4742+
4743+
<h2 id=""></h2>
4744+
<table style="width: 100%" class="indextable genindextable"><tr>
4745+
<td style="width: 33%; vertical-align: top;"><ul>
47344746
<li><a href="glossary.html#term-argument"><strong>argument(引數)</strong></a>
47354747

47364748
<ul>
@@ -4743,6 +4755,12 @@ <h2 id="A">A</h2>
47434755
<li><a href="faq/programming.html#index-1">與 parameter(參數)的差異</a>
47444756
</li>
47454757
</ul></li>
4758+
</ul></td>
4759+
</tr></table>
4760+
4761+
<h2 id="A">A</h2>
4762+
<table style="width: 100%" class="indextable genindextable"><tr>
4763+
<td style="width: 33%; vertical-align: top;"><ul>
47464764
<li><a href="library/sys.html#sys.argv">argv (於 sys 模組中)</a>
47474765
</li>
47484766
<li><a href="c-api/init.html#index-29">argv(sys 模組中)</a>
@@ -4901,8 +4919,6 @@ <h2 id="A">A</h2>
49014919
</li>
49024920
<li><a href="library/dialog.html#tkinter.simpledialog.askinteger">askinteger() (於 tkinter.simpledialog 模組中)</a>
49034921
</li>
4904-
</ul></td>
4905-
<td style="width: 33%; vertical-align: top;"><ul>
49064922
<li><a href="library/tkinter.messagebox.html#tkinter.messagebox.askokcancel">askokcancel() (於 tkinter.messagebox 模組中)</a>
49074923
</li>
49084924
<li><a href="library/dialog.html#tkinter.filedialog.askopenfile">askopenfile() (於 tkinter.filedialog 模組中)</a>
@@ -4962,6 +4978,8 @@ <h2 id="A">A</h2>
49624978
</li>
49634979
<li><a href="library/typing.html#typing.assert_never">assert_never() (於 typing 模組中)</a>
49644980
</li>
4981+
</ul></td>
4982+
<td style="width: 33%; vertical-align: top;"><ul>
49654983
<li><a href="library/unittest.mock.html#unittest.mock.AsyncMock.assert_not_awaited">assert_not_awaited() (unittest.mock.AsyncMock 的方法)</a>
49664984
</li>
49674985
<li><a href="library/unittest.mock.html#unittest.mock.Mock.assert_not_called">assert_not_called() (unittest.mock.Mock 的方法)</a>
@@ -23313,6 +23331,8 @@ <h2 id="P">P</h2>
2331323331
</ul></li>
2331423332
<li><a href="library/pydoc.html#index-1">PAGER</a>
2331523333
</li>
23334+
</ul></td>
23335+
<td style="width: 33%; vertical-align: top;"><ul>
2331623336
<li><a href="library/curses.html#curses.pair_content">pair_content() (於 curses 模組中)</a>
2331723337
</li>
2331823338
<li><a href="library/curses.html#curses.pair_number">pair_number() (於 curses 模組中)</a>
@@ -23327,6 +23347,12 @@ <h2 id="P">P</h2>
2332723347
</li>
2332823348
<li><a href="library/inspect.html#inspect.Signature.parameters">parameters (inspect.Signature 的屬性)</a>
2332923349
</li>
23350+
</ul></td>
23351+
</tr></table>
23352+
23353+
<h2 id=""></h2>
23354+
<table style="width: 100%" class="indextable genindextable"><tr>
23355+
<td style="width: 33%; vertical-align: top;"><ul>
2333023356
<li><a href="glossary.html#term-parameter"><strong>parameter(參數)</strong></a>
2333123357

2333223358
<ul>
@@ -23339,6 +23365,12 @@ <h2 id="P">P</h2>
2333923365
<li><a href="faq/programming.html#index-1">與 argument(引數)的差異</a>
2334023366
</li>
2334123367
</ul></li>
23368+
</ul></td>
23369+
</tr></table>
23370+
23371+
<h2 id="P">P</h2>
23372+
<table style="width: 100%" class="indextable genindextable"><tr>
23373+
<td style="width: 33%; vertical-align: top;"><ul>
2334223374
<li><a href="library/email.headerregistry.html#email.headerregistry.ParameterizedMIMEHeader.params">params (email.headerregistry.ParameterizedMIMEHeader 的屬性)</a>
2334323375
</li>
2334423376
<li><a href="library/ast.html#ast.ParamSpec">ParamSpec (ast 中的類別)</a>
@@ -23433,8 +23465,6 @@ <h2 id="P">P</h2>
2343323465
</li>
2343423466
<li><a href="library/cgi.html#cgi.parse_header">parse_header() (於 cgi 模組中)</a>
2343523467
</li>
23436-
</ul></td>
23437-
<td style="width: 33%; vertical-align: top;"><ul>
2343823468
<li><a href="library/http.client.html#http.client.parse_headers">parse_headers() (於 http.client 模組中)</a>
2343923469
</li>
2344023470
<li><a href="library/argparse.html#argparse.ArgumentParser.parse_intermixed_args">parse_intermixed_args() (argparse.ArgumentParser 的方法)</a>
@@ -23455,6 +23485,8 @@ <h2 id="P">P</h2>
2345523485
</li>
2345623486
<li><a href="library/email.utils.html#email.utils.parsedate">parsedate() (於 email.utils 模組中)</a>
2345723487
</li>
23488+
</ul></td>
23489+
<td style="width: 33%; vertical-align: top;"><ul>
2345823490
<li><a href="library/email.utils.html#email.utils.parsedate_to_datetime">parsedate_to_datetime() (於 email.utils 模組中)</a>
2345923491
</li>
2346023492
<li><a href="library/email.utils.html#email.utils.parsedate_tz">parsedate_tz() (於 email.utils 模組中)</a>

genindex.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,8 @@ <h1 id="index">索引</h1>
155155
| <a href="genindex-.html"><strong></strong></a>
156156
| <a href="genindex-A.html"><strong>A</strong></a>
157157
| <a href="genindex-.html"><strong></strong></a>
158+
| <a href="genindex-A.html"><strong>A</strong></a>
159+
| <a href="genindex-.html"><strong></strong></a>
158160
| <a href="genindex-B.html"><strong>B</strong></a>
159161
| <a href="genindex-.html"><strong></strong></a>
160162
| <a href="genindex-B.html"><strong>B</strong></a>
@@ -310,6 +312,8 @@ <h1 id="index">索引</h1>
310312
| <a href="genindex-P.html"><strong>P</strong></a>
311313
| <a href="genindex-.html"><strong></strong></a>
312314
| <a href="genindex-P.html"><strong>P</strong></a>
315+
| <a href="genindex-.html"><strong></strong></a>
316+
| <a href="genindex-P.html"><strong>P</strong></a>
313317
| <a href="genindex-Q.html"><strong>Q</strong></a>
314318
| <a href="genindex-.html"><strong></strong></a>
315319
| <a href="genindex-Q.html"><strong>Q</strong></a>

library/fractions.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ <h3>瀏覽</h3>
412412
presentation types <code class="docutils literal notranslate"><span class="pre">&quot;e&quot;</span></code>, <code class="docutils literal notranslate"><span class="pre">&quot;E&quot;</span></code>, <code class="docutils literal notranslate"><span class="pre">&quot;f&quot;</span></code>, <code class="docutils literal notranslate"><span class="pre">&quot;F&quot;</span></code>, <code class="docutils literal notranslate"><span class="pre">&quot;g&quot;</span></code>, <code class="docutils literal notranslate"><span class="pre">&quot;G&quot;</span></code>
413413
and <code class="docutils literal notranslate"><span class="pre">&quot;%&quot;</span></code> are supported. For these presentation types, formatting for a
414414
<a class="reference internal" href="#fractions.Fraction" title="fractions.Fraction"><code class="xref py py-class docutils literal notranslate"><span class="pre">Fraction</span></code></a> object <code class="docutils literal notranslate"><span class="pre">x</span></code> follows the rules outlined for
415-
the <a class="reference internal" href="functions.html#float" title="float"><code class="xref py py-class docutils literal notranslate"><span class="pre">float</span></code></a> type in the <a class="reference internal" href="string.html#formatspec"><span class="std std-ref">Format Specification Mini-Language</span></a> section.</p>
415+
the <a class="reference internal" href="functions.html#float" title="float"><code class="xref py py-class docutils literal notranslate"><span class="pre">float</span></code></a> type in the <a class="reference internal" href="string.html#formatspec"><span class="std std-ref">格式規格 (Format Specification) 迷你語言</span></a> section.</p>
416416
<p>Here are some examples:</p>
417417
<div class="highlight-python3 notranslate"><div class="highlight"><pre><span></span><span class="gp">&gt;&gt;&gt; </span><span class="kn">from</span> <span class="nn">fractions</span> <span class="kn">import</span> <span class="n">Fraction</span>
418418
<span class="gp">&gt;&gt;&gt; </span><span class="nb">format</span><span class="p">(</span><span class="n">Fraction</span><span class="p">(</span><span class="mi">1</span><span class="p">,</span> <span class="mi">7</span><span class="p">),</span> <span class="s1">&#39;.40g&#39;</span><span class="p">)</span>

library/functions.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,7 @@ <h3>瀏覽</h3>
814814
<dl class="py function" id="index-4">
815815
<dt class="sig sig-object py" id="format">
816816
<span class="sig-name descname"><span class="pre">format</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">value</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">format_spec</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">''</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#format" title="Link to this definition"></a></dt>
817-
<dd><p><em>value</em> 轉換為 <em>format_spec</em> 控制的 &quot;格式化&quot; 表示。<em>format_spec</em> 的解釋取決於 <em>value</em> 引數的型別,但是大多數內建型別使用標準格式化語法:<a class="reference internal" href="string.html#formatspec"><span class="std std-ref">Format Specification Mini-Language</span></a></p>
817+
<dd><p><em>value</em> 轉換為 <em>format_spec</em> 控制的 &quot;格式化&quot; 表示。<em>format_spec</em> 的解釋取決於 <em>value</em> 引數的型別,但是大多數內建型別使用標準格式化語法:<a class="reference internal" href="string.html#formatspec"><span class="std std-ref">格式規格 (Format Specification) 迷你語言</span></a></p>
818818
<p>預設的 <em>format_spec</em> 是一個空字串,它通常和呼叫 <a class="reference internal" href="stdtypes.html#str" title="str"><code class="xref py py-func docutils literal notranslate"><span class="pre">str(value)</span></code></a> 的效果相同。</p>
819819
<p>呼叫 <code class="docutils literal notranslate"><span class="pre">format(value,</span> <span class="pre">format_spec)</span></code> 會轉換成 <code class="docutils literal notranslate"><span class="pre">type(value).__format__(value,</span> <span class="pre">format_spec)</span></code>,當搜尋 value 的 <code class="xref py py-meth docutils literal notranslate"><span class="pre">__format__()</span></code> method 時,會忽略實例中的字典。如果搜尋到 <a class="reference internal" href="#object" title="object"><code class="xref py py-mod docutils literal notranslate"><span class="pre">object</span></code></a> 這個 method 但 <em>format_spec</em> 不為空,或是 <em>format_spec</em> 或回傳值不是字串,則會觸發 <a class="reference internal" href="exceptions.html#TypeError" title="TypeError"><code class="xref py py-exc docutils literal notranslate"><span class="pre">TypeError</span></code></a></p>
820820
<div class="versionchanged">

library/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ <h3>瀏覽</h3>
283283
</ul>
284284
</li>
285285
<li class="toctree-l1"><a class="reference internal" href="text.html">文本處理 (Text Processing) 服務</a><ul>
286-
<li class="toctree-l2"><a class="reference internal" href="string.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">string</span></code> --- Common string operations</a></li>
286+
<li class="toctree-l2"><a class="reference internal" href="string.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">string</span></code> --- 常見的字串操作</a></li>
287287
<li class="toctree-l2"><a class="reference internal" href="re.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">re</span></code> --- 正規表示式 (regular expression) 操作</a></li>
288288
<li class="toctree-l2"><a class="reference internal" href="difflib.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">difflib</span></code> --- Helpers for computing deltas</a></li>
289289
<li class="toctree-l2"><a class="reference internal" href="textwrap.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">textwrap</span></code> --- Text wrapping and filling</a></li>

library/re.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<link rel="search" title="搜尋" href="../search.html" />
2727
<link rel="copyright" title="版權" href="../copyright.html" />
2828
<link rel="next" title="difflib --- Helpers for computing deltas" href="difflib.html" />
29-
<link rel="prev" title="string --- Common string operations" href="string.html" />
29+
<link rel="prev" title="string --- 常見的字串操作" href="string.html" />
3030
<link rel="canonical" href="https://docs.python.org/3/library/re.html" />
3131

3232

@@ -193,7 +193,7 @@ <h3><a href="../contents.html">目錄</a></h3>
193193
<div>
194194
<h4>上個主題</h4>
195195
<p class="topless"><a href="string.html"
196-
title="上一章"><code class="xref py py-mod docutils literal notranslate"><span class="pre">string</span></code> --- Common string operations</a></p>
196+
title="上一章"><code class="xref py py-mod docutils literal notranslate"><span class="pre">string</span></code> --- 常見的字串操作</a></p>
197197
</div>
198198
<div>
199199
<h4>下個主題</h4>
@@ -229,7 +229,7 @@ <h3>瀏覽</h3>
229229
<a href="difflib.html" title="difflib --- Helpers for computing deltas"
230230
accesskey="N">下一頁</a> |</li>
231231
<li class="right" >
232-
<a href="string.html" title="string --- Common string operations"
232+
<a href="string.html" title="string --- 常見的字串操作"
233233
accesskey="P">上一頁</a> |</li>
234234

235235
<li><img src="../_static/py.svg" alt="python logo" style="vertical-align: middle; margin-top: -1px"/></li>
@@ -2174,7 +2174,7 @@ <h3><a href="../contents.html">目錄</a></h3>
21742174
<div>
21752175
<h4>上個主題</h4>
21762176
<p class="topless"><a href="string.html"
2177-
title="上一章"><code class="xref py py-mod docutils literal notranslate"><span class="pre">string</span></code> --- Common string operations</a></p>
2177+
title="上一章"><code class="xref py py-mod docutils literal notranslate"><span class="pre">string</span></code> --- 常見的字串操作</a></p>
21782178
</div>
21792179
<div>
21802180
<h4>下個主題</h4>
@@ -2213,7 +2213,7 @@ <h3>瀏覽</h3>
22132213
<a href="difflib.html" title="difflib --- Helpers for computing deltas"
22142214
>下一頁</a> |</li>
22152215
<li class="right" >
2216-
<a href="string.html" title="string --- Common string operations"
2216+
<a href="string.html" title="string --- 常見的字串操作"
22172217
>上一頁</a> |</li>
22182218

22192219
<li><img src="../_static/py.svg" alt="python logo" style="vertical-align: middle; margin-top: -1px"/></li>

0 commit comments

Comments
 (0)