Skip to content

Commit 0d28591

Browse files
committed
Deploying to gh-pages from @ 149fc0b 🚀
1 parent 9e81608 commit 0d28591

File tree

14 files changed

+62
-33
lines changed

14 files changed

+62
-33
lines changed

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://mail.python.org/mailman3/lists/core-mentorship.python.org/">Python 開發者指南</a>中找到如何開始修補 Python 的更多資訊。如果您有任何問題,<a class="reference external" href="https://devguide.python.org/">核心導師郵寄清單</a>是一個友善的地方,您可以在那裡得到,關於 Python 修正錯誤的過程中,所有問題的答案。</p>
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>
228228
</section>
229229
</section>
230230

contents.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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>
@@ -4143,7 +4143,7 @@ <h1>Python 說明文件內容<a class="headerlink" href="#python-documentation-c
41434143
</li>
41444144
</ul>
41454145
</li>
4146-
<li class="toctree-l4"><a class="reference internal" href="library/string.html#helper-functions">Helper functions</a><ul>
4146+
<li class="toctree-l4"><a class="reference internal" href="library/string.html#helper-functions">輔助函式</a><ul>
41474147
<li class="toctree-l5"><a class="reference internal" href="library/string.html#string.capwords"><code class="docutils literal notranslate"><span class="pre">capwords()</span></code></a></li>
41484148
</ul>
41494149
</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/stdtypes.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6007,7 +6007,7 @@ <h3>Affected APIs<a class="headerlink" href="#affected-apis" title="Link to this
60076007
<li><p><code class="docutils literal notranslate"><span class="pre">int(string,</span> <span class="pre">base)</span></code> with base 2, 4, 8, 16, or 32.</p></li>
60086008
<li><p><a class="reference internal" href="#int.from_bytes" title="int.from_bytes"><code class="xref py py-func docutils literal notranslate"><span class="pre">int.from_bytes()</span></code></a> and <a class="reference internal" href="#int.to_bytes" title="int.to_bytes"><code class="xref py py-func docutils literal notranslate"><span class="pre">int.to_bytes()</span></code></a>.</p></li>
60096009
<li><p><a class="reference internal" href="functions.html#hex" title="hex"><code class="xref py py-func docutils literal notranslate"><span class="pre">hex()</span></code></a>, <a class="reference internal" href="functions.html#oct" title="oct"><code class="xref py py-func docutils literal notranslate"><span class="pre">oct()</span></code></a>, <a class="reference internal" href="functions.html#bin" title="bin"><code class="xref py py-func docutils literal notranslate"><span class="pre">bin()</span></code></a>.</p></li>
6010-
<li><p><a class="reference internal" href="string.html#formatspec"><span class="std std-ref">Format Specification Mini-Language</span></a> for hex, octal, and binary numbers.</p></li>
6010+
<li><p><a class="reference internal" href="string.html#formatspec"><span class="std std-ref">格式規格 (Format Specification) 迷你語言</span></a> for hex, octal, and binary numbers.</p></li>
60116011
<li><p><a class="reference internal" href="#str" title="str"><code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code></a> to <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>.</p></li>
60126012
<li><p><a class="reference internal" href="#str" title="str"><code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code></a> to <a class="reference internal" href="decimal.html#decimal.Decimal" title="decimal.Decimal"><code class="xref py py-class docutils literal notranslate"><span class="pre">decimal.Decimal</span></code></a>.</p></li>
60136013
</ul>

0 commit comments

Comments
 (0)