Skip to content

Commit c95a3b7

Browse files
committed
Deploying to gh-pages from @ a9a4bed 🚀
1 parent 8d173be commit c95a3b7

File tree

555 files changed

+597
-584
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

555 files changed

+597
-584
lines changed

_sources/library/codecs.rst.txt

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1061,8 +1061,15 @@ or with dictionaries as mapping tables. The following table lists the codecs by
10611061
name, together with a few common aliases, and the languages for which the
10621062
encoding is likely used. Neither the list of aliases nor the list of languages
10631063
is meant to be exhaustive. Notice that spelling alternatives that only differ in
1064-
case or use a hyphen instead of an underscore are also valid aliases; therefore,
1065-
e.g. ``'utf-8'`` is a valid alias for the ``'utf_8'`` codec.
1064+
case or use a hyphen instead of an underscore are also valid aliases
1065+
because they are equivalent when normalized by
1066+
:func:`~encodings.normalize_encoding`. For example, ``'utf-8'`` is a valid
1067+
alias for the ``'utf_8'`` codec.
1068+
1069+
.. note::
1070+
1071+
The below table lists the most common aliases, for a complete list
1072+
refer to the source :source:`aliases.py <Lib/encodings/aliases.py>` file.
10661073

10671074
.. impl-detail::
10681075

about.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ <h3>瀏覽</h3>
320320
<a href="https://www.python.org/psf/donations/">Please donate.</a>
321321
<br>
322322
<br>
323-
最後更新於 7月 13, 2025 (11:53 UTC)。
323+
最後更新於 7月 14, 2025 (03:20 UTC)。
324324

325325
<a href="/bugs.html">Found a bug</a>?
326326

bugs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ <h3>瀏覽</h3>
359359
<a href="https://www.python.org/psf/donations/">Please donate.</a>
360360
<br>
361361
<br>
362-
最後更新於 7月 13, 2025 (11:53 UTC)。
362+
最後更新於 7月 14, 2025 (03:20 UTC)。
363363

364364
<a href="/bugs.html">Found a bug</a>?
365365

c-api/abstract.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ <h3>瀏覽</h3>
329329
<a href="https://www.python.org/psf/donations/">Please donate.</a>
330330
<br>
331331
<br>
332-
最後更新於 7月 13, 2025 (11:53 UTC)。
332+
最後更新於 7月 14, 2025 (03:20 UTC)。
333333

334334
<a href="/bugs.html">Found a bug</a>?
335335

c-api/allocation.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<link rel="search" title="搜尋" href="../search.html" />
2828
<link rel="copyright" title="版權" href="../copyright.html" />
2929
<link rel="next" title="通用物件結構" href="structures.html" />
30-
<link rel="prev" title="Object Implementation Support" href="objimpl.html" />
30+
<link rel="prev" title="物件實作支援" href="objimpl.html" />
3131

3232

3333
<link rel="canonical" href="https://docs.python.org/3/c-api/allocation.html">
@@ -89,7 +89,7 @@
8989
<div>
9090
<h4>上個主題</h4>
9191
<p class="topless"><a href="objimpl.html"
92-
title="上一章">Object Implementation Support</a></p>
92+
title="上一章">物件實作支援</a></p>
9393
</div>
9494
<div>
9595
<h4>下個主題</h4>
@@ -125,7 +125,7 @@ <h3>瀏覽</h3>
125125
<a href="structures.html" title="通用物件結構"
126126
accesskey="N">下一頁</a> |</li>
127127
<li class="right" >
128-
<a href="objimpl.html" title="Object Implementation Support"
128+
<a href="objimpl.html" title="物件實作支援"
129129
accesskey="P">上一頁</a> |</li>
130130

131131
<li><img src="../_static/py.svg" alt="Python logo" style="vertical-align: middle; margin-top: -1px"></li>
@@ -142,7 +142,7 @@ <h3>瀏覽</h3>
142142
</li>
143143

144144
<li class="nav-item nav-item-1"><a href="index.html" >Python/C API 參考手冊</a> &#187;</li>
145-
<li class="nav-item nav-item-2"><a href="objimpl.html" accesskey="U">Object Implementation Support</a> &#187;</li>
145+
<li class="nav-item nav-item-2"><a href="objimpl.html" accesskey="U">物件實作支援</a> &#187;</li>
146146
<li class="nav-item nav-item-this"><a href="">在 heap 上分配物件</a></li>
147147
<li class="right">
148148

@@ -246,7 +246,7 @@ <h3>瀏覽</h3>
246246
<div>
247247
<h4>上個主題</h4>
248248
<p class="topless"><a href="objimpl.html"
249-
title="上一章">Object Implementation Support</a></p>
249+
title="上一章">物件實作支援</a></p>
250250
</div>
251251
<div>
252252
<h4>下個主題</h4>
@@ -285,7 +285,7 @@ <h3>瀏覽</h3>
285285
<a href="structures.html" title="通用物件結構"
286286
>下一頁</a> |</li>
287287
<li class="right" >
288-
<a href="objimpl.html" title="Object Implementation Support"
288+
<a href="objimpl.html" title="物件實作支援"
289289
>上一頁</a> |</li>
290290

291291
<li><img src="../_static/py.svg" alt="Python logo" style="vertical-align: middle; margin-top: -1px"></li>
@@ -302,7 +302,7 @@ <h3>瀏覽</h3>
302302
</li>
303303

304304
<li class="nav-item nav-item-1"><a href="index.html" >Python/C API 參考手冊</a> &#187;</li>
305-
<li class="nav-item nav-item-2"><a href="objimpl.html" >Object Implementation Support</a> &#187;</li>
305+
<li class="nav-item nav-item-2"><a href="objimpl.html" >物件實作支援</a> &#187;</li>
306306
<li class="nav-item nav-item-this"><a href="">在 heap 上分配物件</a></li>
307307
<li class="right">
308308

@@ -350,7 +350,7 @@ <h3>瀏覽</h3>
350350
<a href="https://www.python.org/psf/donations/">Please donate.</a>
351351
<br>
352352
<br>
353-
最後更新於 7月 13, 2025 (11:53 UTC)。
353+
最後更新於 7月 14, 2025 (03:20 UTC)。
354354

355355
<a href="/bugs.html">Found a bug</a>?
356356

c-api/apiabiversion.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ <h3>瀏覽</h3>
376376
<a href="https://www.python.org/psf/donations/">Please donate.</a>
377377
<br>
378378
<br>
379-
最後更新於 7月 13, 2025 (11:53 UTC)。
379+
最後更新於 7月 14, 2025 (03:20 UTC)。
380380

381381
<a href="/bugs.html">Found a bug</a>?
382382

c-api/arg.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -931,7 +931,7 @@ <h3>瀏覽</h3>
931931
<a href="https://www.python.org/psf/donations/">Please donate.</a>
932932
<br>
933933
<br>
934-
最後更新於 7月 13, 2025 (11:53 UTC)。
934+
最後更新於 7月 14, 2025 (03:20 UTC)。
935935

936936
<a href="/bugs.html">Found a bug</a>?
937937

c-api/bool.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ <h3>瀏覽</h3>
341341
<a href="https://www.python.org/psf/donations/">Please donate.</a>
342342
<br>
343343
<br>
344-
最後更新於 7月 13, 2025 (11:53 UTC)。
344+
最後更新於 7月 14, 2025 (03:20 UTC)。
345345

346346
<a href="/bugs.html">Found a bug</a>?
347347

c-api/buffer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1022,7 +1022,7 @@ <h3>瀏覽</h3>
10221022
<a href="https://www.python.org/psf/donations/">Please donate.</a>
10231023
<br>
10241024
<br>
1025-
最後更新於 7月 13, 2025 (11:53 UTC)。
1025+
最後更新於 7月 14, 2025 (03:20 UTC)。
10261026

10271027
<a href="/bugs.html">Found a bug</a>?
10281028

c-api/bytearray.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ <h3>瀏覽</h3>
400400
<a href="https://www.python.org/psf/donations/">Please donate.</a>
401401
<br>
402402
<br>
403-
最後更新於 7月 13, 2025 (11:53 UTC)。
403+
最後更新於 7月 14, 2025 (03:20 UTC)。
404404

405405
<a href="/bugs.html">Found a bug</a>?
406406

0 commit comments

Comments
 (0)