Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5dbf657

Browse files
Sync with CPython 3.12 (#927)
1 parent485c468 commit5dbf657

File tree

171 files changed

+9002
-5313
lines changed

Some content is hidden

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

171 files changed

+9002
-5313
lines changed

‎.scripts/poetry.lock

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ the PSF for inclusion in the documentation.
178178
179179
cd ../cpython/Doc/build/html
180180
python3 -m http.server
181-
181+
182182
你也可以執行下列指令請瀏覽器打開編譯出來的文件\
183183
以確認整份文件的語意通暢(翻譯別的檔案時將 library/math 換成別的檔名):
184184

‎bugs.po

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ msgid ""
3636
"like to know of any deficiencies you find in Python."
3737
msgstr""
3838
"Python 已經是一個以穩定著稱的成熟程式語言。為了維持「穩定」的信譽,開發者們想"
39-
"知道任何您在 Python 中發現的缺失。"
39+
"知道任何你在 Python 中發現的缺失。"
4040

4141
#:../../bugs.rst:11
4242
msgid""
@@ -58,8 +58,8 @@ msgid ""
5858
"improvement, please submit a bug report on the :ref:`tracker <using-the-"
5959
"tracker>`. If you have a suggestion on how to fix it, include that as well."
6060
msgstr""
61-
"如果您在這份說明文件中發現了錯誤並想要幫助我們改進,請將錯誤報告提交到\\ :"
62-
"ref:`追蹤系統 (tracker) <using-the-tracker>`。如果您有相應的修正建議,請一併"
61+
"如果你在這份說明文件中發現了錯誤並想要幫助我們改進,請將錯誤報告提交到\\ :"
62+
"ref:`追蹤系統 (tracker) <using-the-tracker>`。如果你有相應的修正建議,請一併"
6363
"提交。(譯者註:如果是繁體中文說明文件翻譯相關的錯誤,請提交到 https://"
6464
"github.com/python/python-docs-zh-tw/issues。)"
6565

@@ -85,9 +85,9 @@ msgid ""
8585
"'docs@' is a mailing list run by volunteers; your request will be noticed, "
8686
"though it may take a while to be processed."
8787
msgstr""
88-
"如果您的時間有限,也可以將說明文件的錯誤報告以電子郵件寄到 docs@python.org\\ "
88+
"如果你的時間有限,也可以將說明文件的錯誤報告以電子郵件寄到 docs@python.org\\ "
8989
"(程式碼執行的錯誤可以寄到 python-list@python.org)。「docs@」是一個由志工們"
90-
"所運行的郵寄清單;您的請求會被注意到,但可能需要一些時間才會被處理。"
90+
"所運行的郵寄清單;你的請求會被注意到,但可能需要一些時間才會被處理。"
9191

9292
#:../../bugs.rst:36
9393
msgid"`Documentation bugs`_"
@@ -163,9 +163,9 @@ msgid ""
163163
"page."
164164
msgstr""
165165
"填寫報告的第一步,是確認該問題是否已經被回報過了。這樣做的好處,除了可以節省"
166-
"開發者的時間,也能讓您了解目前關於該問題的處理進度;有可能已經在下一個發行版"
166+
"開發者的時間,也能讓你了解目前關於該問題的處理進度;有可能已經在下一個發行版"
167167
"本中修正了這個問題,也有可能需要更詳細的資訊(在這種情況下,如果可以,非常歡"
168-
"迎您提供資訊!)。要確認是否重複回報,請使用頁面頂端的搜尋框來搜尋追蹤系統。"
168+
"迎你提供資訊!)。要確認是否重複回報,請使用頁面頂端的搜尋框來搜尋追蹤系統。"
169169

170170
#:../../bugs.rst:66
171171
msgid""
@@ -174,15 +174,15 @@ msgid ""
174174
"using the\"Sign up\" link. It is not possible to submit a bug report "
175175
"anonymously."
176176
msgstr""
177-
"如果您想回報的問題還沒有在問題列表出現過,請登入 GitHub。如果您還沒有 GitHub "
178-
"帳戶,請點選「Sign up」連結來建立一個新的帳戶。您無法以匿名方式提交錯誤報告。"
177+
"如果你想回報的問題還沒有在問題列表出現過,請登入 GitHub。如果你還沒有 GitHub "
178+
"帳戶,請點選「Sign up」連結來建立一個新的帳戶。你無法以匿名方式提交錯誤報告。"
179179

180180
#:../../bugs.rst:71
181181
msgid""
182182
"Being now logged in, you can submit an issue. Click on the\"New issue\" "
183183
"button in the top bar to report a new issue."
184184
msgstr""
185-
"如果已經登入,那您就可以提交問題了。請點選列表頂端區域的「New issue」按鈕,來"
185+
"如果已經登入,那你就可以提交問題了。請點選列表頂端區域的「New issue」按鈕,來"
186186
"回報一個新的問題。"
187187

188188
#:../../bugs.rst:74
@@ -203,8 +203,8 @@ msgid ""
203203
"extension modules were involved, and what hardware and software platform you "
204204
"were using (including version information as appropriate)."
205205
msgstr""
206-
"在「Comment」欄位,請詳細描述該問題,包括您預期發生的情況和實際發生的情況。請"
207-
"確定說明中包含了涉及到的任何擴充模組,以及您當時所使用的硬體和軟體平台(視情"
206+
"在「Comment」欄位,請詳細描述該問題,包括你預期發生的情況和實際發生的情況。請"
207+
"確定說明中包含了涉及到的任何擴充模組,以及你當時所使用的硬體和軟體平台(視情"
208208
"況而定,可以附上版本資訊)。"
209209

210210
#:../../bugs.rst:84
@@ -214,7 +214,7 @@ msgid ""
214214
"time an action is taken on the issue."
215215
msgstr""
216216
"每一份問題報告都會被一位開發人員查核,並由他決定要做出什麼變更來修正這個問"
217-
"題。每當該問題有修正動作時,您會收到更新回報。"
217+
"題。每當該問題有修正動作時,你會收到更新回報。"
218218

219219
#:../../bugs.rst:91
220220
msgid""
@@ -259,7 +259,7 @@ msgid ""
259259
"the `core-mentorship mailing list`_ is a friendly place to get answers to "
260260
"any and all questions pertaining to the process of fixing issues in Python."
261261
msgstr""
262-
"除了只是回報您所發現的錯誤之外,同樣也歡迎您提交修正它們的修補程式 (patch)。"
263-
"您可以在 `Python 開發者指南`_\\ 中找到如何開始修補 Python 的更多資訊。如果您"
264-
"有任何問題,`核心導師郵寄清單`_\\ 是一個友善的地方,您可以在那裡得到,關於 "
262+
"除了只是回報你所發現的錯誤之外,同樣也歡迎你提交修正它們的修補程式 (patch)。"
263+
"你可以在 `Python 開發者指南`_\\ 中找到如何開始修補 Python 的更多資訊。如果你"
264+
"有任何問題,`核心導師郵寄清單`_\\ 是一個友善的地方,你可以在那裡得到,關於 "
265265
"Python 修正錯誤的過程中,所有問題的答案。"

‎c-api/arg.po

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version:Python 3.12\n"
99
"Report-Msgid-Bugs-To:\n"
10-
"POT-Creation-Date:2024-04-18 00:04+0000\n"
10+
"POT-Creation-Date:2024-07-20 00:03+0000\n"
1111
"PO-Revision-Date:2022-10-16 03:21+0800\n"
1212
"Last-Translator:Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -552,15 +552,15 @@ msgid "``f`` (:class:`float`) [float]"
552552
msgstr"``f`` (:class:`float`) [float]"
553553

554554
#:../../c-api/arg.rst:283
555-
msgid"Convert a Python floatingpoint number to a C :c:expr:`float`."
555+
msgid"Convert a Python floating-point number to a C :c:expr:`float`."
556556
msgstr"將一個 Python 浮點數轉換成 C 的 :c:type::c:expr:`float`。"
557557

558558
#:../../c-api/arg.rst:285../../c-api/arg.rst:609
559559
msgid"``d`` (:class:`float`) [double]"
560560
msgstr"``d`` (:class:`float`) [double]"
561561

562562
#:../../c-api/arg.rst:286
563-
msgid"Convert a Python floatingpoint number to a C :c:expr:`double`."
563+
msgid"Convert a Python floating-point number to a C :c:expr:`double`."
564564
msgstr"將一個 Python 浮點數轉換成 C 的 :c:type::c:expr:`double`。"
565565

566566
#:../../c-api/arg.rst:288
@@ -1039,11 +1039,11 @@ msgstr ""
10391039
"`str`。"
10401040

10411041
#:../../c-api/arg.rst:610
1042-
msgid"Convert a C :c:expr:`double` to a Python floatingpoint number."
1042+
msgid"Convert a C :c:expr:`double` to a Python floating-point number."
10431043
msgstr"將一個 C 的 :c:expr:`double` 轉換成 Python 浮點數。"
10441044

10451045
#:../../c-api/arg.rst:613
1046-
msgid"Convert a C :c:expr:`float` to a Python floatingpoint number."
1046+
msgid"Convert a C :c:expr:`float` to a Python floating-point number."
10471047
msgstr"將一個 C 的 :c:expr:`float` 轉換成 Python 浮點數。"
10481048

10491049
#:../../c-api/arg.rst:615

‎c-api/bytearray.po

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version:Python 3.12\n"
99
"Report-Msgid-Bugs-To:\n"
10-
"POT-Creation-Date:2023-05-09 00:15+0000\n"
10+
"POT-Creation-Date:2024-08-04 00:03+0000\n"
1111
"PO-Revision-Date:2023-08-12 11:42+0800\n"
1212
"Last-Translator:Liang-Bo Wang <me@liang2.tw>\n"
1313
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -68,48 +68,49 @@ msgstr ""
6868
"由任意物件 *o* 回傳一個新的位元組陣列物件,並實作了\\ :ref:`緩衝協議 (buffer "
6969
"protocol) <bufferobjects>`。"
7070

71-
#:../../c-api/bytearray.rst:48
72-
msgid""
73-
"Create a new bytearray object from *string* and its length, *len*. On "
74-
"failure, ``NULL`` is returned."
75-
msgstr""
76-
"從 *string* 及其長度 *len* 建立一個新的位元組陣列物件。若失敗則回傳 "
77-
"``NULL``。"
71+
#:../../c-api/bytearray.rst:45../../c-api/bytearray.rst:52
72+
#:../../c-api/bytearray.rst:59
73+
msgid"On failure, return ``NULL`` with an exception set."
74+
msgstr"在失敗時,會回傳 ``NULL`` 並設定例外。"
7875

79-
#:../../c-api/bytearray.rst:54
76+
#:../../c-api/bytearray.rst:50
77+
msgid"Create a new bytearray object from *string* and its length, *len*."
78+
msgstr"從 *string* 及其長度 *len* 建立一個新的位元組陣列物件。"
79+
80+
#:../../c-api/bytearray.rst:57
8081
msgid""
8182
"Concat bytearrays *a* and *b* and return a new bytearray with the result."
8283
msgstr"連接位元組陣列 *a* 和 *b*,並回傳一個包含結果的新位元組陣列。"
8384

84-
#:../../c-api/bytearray.rst:59
85+
#:../../c-api/bytearray.rst:64
8586
msgid"Return the size of *bytearray* after checking for a ``NULL`` pointer."
8687
msgstr"在檢查為 ``NULL`` 指標後,回傳 *bytearray* 的大小。"
8788

88-
#:../../c-api/bytearray.rst:64
89+
#:../../c-api/bytearray.rst:69
8990
msgid""
9091
"Return the contents of *bytearray* as a char array after checking for a "
9192
"``NULL`` pointer. The returned array always has an extra null byte appended."
9293
msgstr""
9394
"在檢查是否為 ``NULL`` 指標後,將 *bytearray* 的內容回傳為字元陣列。回傳的陣列"
9495
"總是會多附加一個空位元組。"
9596

96-
#:../../c-api/bytearray.rst:71
97+
#:../../c-api/bytearray.rst:76
9798
msgid"Resize the internal buffer of *bytearray* to *len*."
9899
msgstr"將 *bytearray* 的內部緩衝區大小調整為 *len*。"
99100

100-
#:../../c-api/bytearray.rst:74
101+
#:../../c-api/bytearray.rst:79
101102
msgid"Macros"
102103
msgstr"巨集"
103104

104-
#:../../c-api/bytearray.rst:76
105+
#:../../c-api/bytearray.rst:81
105106
msgid"These macros trade safety for speed and they don't check pointers."
106107
msgstr"這些巨集犧牲了安全性以換取速度,並且它們不會檢查指標。"
107108

108-
#:../../c-api/bytearray.rst:80
109+
#:../../c-api/bytearray.rst:85
109110
msgid"Similar to :c:func:`PyByteArray_AsString`, but without error checking."
110111
msgstr"與 :c:func:`PyByteArray_AsString` 類似,但沒有錯誤檢查。"
111112

112-
#:../../c-api/bytearray.rst:85
113+
#:../../c-api/bytearray.rst:90
113114
msgid"Similar to :c:func:`PyByteArray_Size`, but without error checking."
114115
msgstr"與 :c:func:`PyByteArray_Size` 類似,但沒有錯誤檢查。"
115116

‎c-api/file.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ msgid ""
99
msgstr ""
1010
"Project-Id-Version:Python 3.12\n"
1111
"Report-Msgid-Bugs-To:\n"
12-
"POT-Creation-Date:2024-02-12 00:03+0000\n"
12+
"POT-Creation-Date:2024-08-04 00:03+0000\n"
1313
"PO-Revision-Date:2023-04-24 20:38+0800\n"
1414
"Last-Translator:Matt Wang <mattwang44@gmail.com>\n"
1515
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"

‎c-api/float.po

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ msgid ""
99
msgstr ""
1010
"Project-Id-Version:Python 3.12\n"
1111
"Report-Msgid-Bugs-To:\n"
12-
"POT-Creation-Date:2023-07-22 00:04+0000\n"
12+
"POT-Creation-Date:2024-07-20 00:03+0000\n"
1313
"PO-Revision-Date:2017-09-22 18:26+0000\n"
1414
"Last-Translator:Liang-Bo Wang <me@liang2.tw>\n"
1515
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -21,17 +21,17 @@ msgstr ""
2121
"Plural-Forms:nplurals=1; plural=0;\n"
2222

2323
#:../../c-api/float.rst:6
24-
msgid"FloatingPoint Objects"
25-
msgstr"浮點數(FloatingPoint)物件"
24+
msgid"Floating-Point Objects"
25+
msgstr"浮點數(Floating-Point)物件"
2626

2727
#:../../c-api/float.rst:13
2828
msgid""
29-
"This subtype of :c:type:`PyObject` represents a Python floatingpoint object."
29+
"This subtype of :c:type:`PyObject` represents a Python floating-point object."
3030
msgstr""
3131

3232
#:../../c-api/float.rst:18
3333
msgid""
34-
"This instance of :c:type:`PyTypeObject` represents the Python floatingpoint "
34+
"This instance of :c:type:`PyTypeObject` represents the Python floating-point "
3535
"type. This is the same object as :class:`float` in the Python layer."
3636
msgstr""
3737

@@ -61,7 +61,7 @@ msgstr ""
6161
#:../../c-api/float.rst:47
6262
msgid""
6363
"Return a C :c:expr:`double` representation of the contents of *pyfloat*. If "
64-
"*pyfloat* is not a Python floatingpoint object but has a :meth:`~object."
64+
"*pyfloat* is not a Python floating-point object but has a :meth:`~object."
6565
"__float__` method, this method will first be called to convert *pyfloat* "
6666
"into a float. If :meth:`!__float__` is not defined then it falls back to :"
6767
"meth:`~object.__index__`. This method returns ``-1.0`` upon failure, so one "
@@ -217,5 +217,5 @@ msgid "object"
217217
msgstr"object(物件)"
218218

219219
#:../../c-api/float.rst:8
220-
msgid"floatingpoint"
221-
msgstr"floatingpoint(浮點)"
220+
msgid"floating-point"
221+
msgstr"floating-point(浮點)"

‎c-api/init.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version:Python 3.12\n"
1010
"Report-Msgid-Bugs-To:\n"
11-
"POT-Creation-Date:2024-06-22 00:03+0000\n"
11+
"POT-Creation-Date:2024-08-04 00:03+0000\n"
1212
"PO-Revision-Date:2023-04-24 20:49+0800\n"
1313
"Last-Translator:Adrian Liaw <adrianliaw2000@gmail.com>\n"
1414
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -2493,7 +2493,7 @@ msgstr ""
24932493

24942494
#:../../c-api/init.rst:2177
24952495
msgid"Thread Local Storage (TLS) API"
2496-
msgstr""
2496+
msgstr"執行緒局部儲存 (Thread Local Storage, TLS) API:"
24972497

24982498
#:../../c-api/init.rst:2179
24992499
msgid""

‎c-api/init_config.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version:Python 3.12\n"
1010
"Report-Msgid-Bugs-To:\n"
11-
"POT-Creation-Date:2023-08-23 00:03+0000\n"
11+
"POT-Creation-Date:2024-07-23 00:04+0000\n"
1212
"PO-Revision-Date:YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator:FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -595,7 +595,7 @@ msgstr ""
595595
msgid""
596596
"The :c:func:`PyConfig_Read` function only parses :c:member:`PyConfig.argv` "
597597
"arguments once: :c:member:`PyConfig.parse_argv` is set to ``2`` after "
598-
"arguments are parsed. Since Python arguments arestrippped from :c:member:"
598+
"arguments are parsed. Since Python arguments arestripped from :c:member:"
599599
"`PyConfig.argv`, parsing arguments twice would parse the application options "
600600
"as Python options."
601601
msgstr""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp