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

Commite08c28c

Browse files
sync with cpython 62f224a9
1 parenta577588 commite08c28c

Some content is hidden

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

47 files changed

+746
-561
lines changed

‎c-api/bytearray.po

Lines changed: 17 additions & 13 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,52 @@ 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."
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""
75+
76+
#:../../c-api/bytearray.rst:50
77+
#,fuzzy
78+
msgid"Create a new bytearray object from *string* and its length, *len*."
7579
msgstr""
7680
"從 *string* 及其長度 *len* 建立一個新的位元組陣列物件。若失敗則回傳 "
7781
"``NULL``。"
7882

79-
#:../../c-api/bytearray.rst:54
83+
#:../../c-api/bytearray.rst:57
8084
msgid""
8185
"Concat bytearrays *a* and *b* and return a new bytearray with the result."
8286
msgstr"連接位元組陣列 *a* 和 *b*,並回傳一個包含結果的新位元組陣列。"
8387

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

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

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

100-
#:../../c-api/bytearray.rst:74
104+
#:../../c-api/bytearray.rst:79
101105
msgid"Macros"
102106
msgstr"巨集"
103107

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

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

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

‎c-api/file.po

Lines changed: 4 additions & 2 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:2024-07-31 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-"
@@ -158,7 +158,9 @@ msgstr "在 :c:func:`Py_Initialize` 之前呼叫此函式是安全的。"
158158

159159
#:../../c-api/file.rst:90
160160
#,fuzzy
161-
msgid"Raises an auditing event setopencodehook with no arguments."
161+
msgid""
162+
"Raises an :ref:`auditing event <auditing>` ``setopencodehook`` with no "
163+
"arguments."
162164
msgstr""
163165
"不帶引數地引發一個\\ :ref:`稽核事件 (auditing event) <auditing>` "
164166
"``setopencodehook``。"

‎c-api/init.po

Lines changed: 7 additions & 4 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-07-31 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-"
@@ -614,7 +614,8 @@ msgstr ""
614614
#:../../c-api/init.rst:421
615615
#,fuzzy
616616
msgid""
617-
"Raises an auditing event cpython._PySys_ClearAuditHooks with no arguments."
617+
"Raises an :ref:`auditing event <auditing>` ``cpython."
618+
"_PySys_ClearAuditHooks`` with no arguments."
618619
msgstr""
619620
"引發一個不附帶引數的\\ :ref:`稽核事件 <auditing>` ``cpython."
620621
"_PySys_ClearAuditHooks``。"
@@ -1419,7 +1420,8 @@ msgstr ""
14191420
#:../../c-api/init.rst:1227
14201421
#,fuzzy
14211422
msgid""
1422-
"Raises an auditing event cpython.PyInterpreterState_New with no arguments."
1423+
"Raises an :ref:`auditing event <auditing>` ``cpython."
1424+
"PyInterpreterState_New`` with no arguments."
14231425
msgstr""
14241426
"引發一個不附帶引數的\\ :ref:`稽核事件 <auditing>` ``cpython."
14251427
"PyInterpreterState_New``。"
@@ -1433,7 +1435,8 @@ msgstr ""
14331435
#:../../c-api/init.rst:1235
14341436
#,fuzzy
14351437
msgid""
1436-
"Raises an auditing event cpython.PyInterpreterState_Clear with no arguments."
1438+
"Raises an :ref:`auditing event <auditing>` ``cpython."
1439+
"PyInterpreterState_Clear`` with no arguments."
14371440
msgstr""
14381441
"引發一個不附帶引數的\\ :ref:`稽核事件 <auditing>` ``cpython."
14391442
"PyInterpreterState_Clear``。"

‎c-api/sys.po

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ msgid ""
1010
msgstr ""
1111
"Project-Id-Version:Python 3.12\n"
1212
"Report-Msgid-Bugs-To:\n"
13-
"POT-Creation-Date:2024-07-31 00:03+0000\n"
13+
"POT-Creation-Date:2024-08-04 00:03+0000\n"
1414
"PO-Revision-Date:2018-05-23 14:07+0000\n"
1515
"Last-Translator:Adrian Liaw <adrianliaw2000@gmail.com>\n"
1616
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -454,16 +454,7 @@ msgid ""
454454
"events table <audit-events>`. Details are in each function's documentation."
455455
msgstr""
456456

457-
#:../../c-api/sys.rst:395
458-
msgid""
459-
"If the interpreter is initialized, this function raises an auditing event "
460-
"sys.addaudithook with no arguments. If any existing hooks raise an exception "
461-
"derived from Exception, the new hook will not be added and the exception is "
462-
"cleared. As a result, callers cannot assume that their hook has been added "
463-
"unless they control all existing hooks."
464-
msgstr""
465-
466-
#:../../c-api/sys.rst:397
457+
#:../../c-api/sys.rst:395../../c-api/sys.rst:397
467458
msgid""
468459
"If the interpreter is initialized, this function raises an auditing event "
469460
"``sys.addaudithook`` with no arguments. If any existing hooks raise an "

‎library/_thread.po

Lines changed: 3 additions & 3 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-07-31 00:03+0000\n"
10+
"POT-Creation-Date:2024-08-04 00:03+0000\n"
1111
"PO-Revision-Date:2015-12-09 17:51+0000\n"
1212
"Last-Translator:Liang-Bo Wang <me@liang2.tw>\n"
1313
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -90,8 +90,8 @@ msgstr "當函式引發 :exc:`SystemExit` 例外時,它會被靜默忽略。"
9090
#:../../library/_thread.rst:60
9191
#,fuzzy
9292
msgid""
93-
"Raises an auditing event _thread.start_new_thread with arguments function, "
94-
"args,kwargs."
93+
"Raises an:ref:`auditing event<auditing>` ``_thread.start_new_thread`` with "
94+
"arguments ``function``, ``args``, ``kwargs``."
9595
msgstr""
9696
"引發一個 :ref:`稽核事件 <auditing>` ``_thread.start_new_thread``,帶有引數 "
9797
"``function``、``args`` 和 ``kwargs``。"

‎library/array.po

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version:Python 3.12\n"
1313
"Report-Msgid-Bugs-To:\n"
14-
"POT-Creation-Date:2024-07-31 00:03+0000\n"
14+
"POT-Creation-Date:2024-08-04 00:03+0000\n"
1515
"PO-Revision-Date:2021-11-23 18:40+0800\n"
1616
"Last-Translator:Benson Chen <bc842017@gmail.com>\n"
1717
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -282,7 +282,8 @@ msgstr ""
282282
#:../../library/array.rst:96
283283
#,fuzzy
284284
msgid""
285-
"Raises an auditing event array.__new__ with arguments typecode, initializer."
285+
"Raises an :ref:`auditing event <auditing>` ``array.__new__`` with arguments "
286+
"``typecode``, ``initializer``."
286287
msgstr""
287288
"引發\\ :ref:`稽核事件 (auditing event) <auditing>` ``array.__new__`` 並帶入引"
288289
"數 ``typecode``、``initializer``。"

‎library/asyncio.po

Lines changed: 4 additions & 2 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:2024-07-31 00:03+0000\n"
12+
"POT-Creation-Date:2024-08-04 00:03+0000\n"
1313
"PO-Revision-Date:2021-11-23 12:40+0800\n"
1414
"Last-Translator:Matt Wang <mattwang44@gmail.com>\n"
1515
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -149,7 +149,9 @@ msgid "You can experiment with an ``asyncio`` concurrent context in the REPL:"
149149
msgstr"你能在 REPL 中對一個 ``asyncio`` 的並行情境 (context) 進行實驗:"
150150

151151
#:../../library/asyncio.rst:77
152-
msgid"Raises an auditing event cpython.run_stdin with no arguments."
152+
msgid""
153+
"Raises an :ref:`auditing event <auditing>` ``cpython.run_stdin`` with no "
154+
"arguments."
153155
msgstr""
154156

155157
#:../../library/asyncio.rst:79

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp