Skip to content

Commit 450b84b

Browse files
sync with cpython 5986718a
1 parent 4494ce8 commit 450b84b

7 files changed

Lines changed: 666 additions & 600 deletions

File tree

library/binascii.po

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ msgid ""
66
msgstr ""
77
"Project-Id-Version: Python 3.14\n"
88
"Report-Msgid-Bugs-To: \n"
9-
"POT-Creation-Date: 2026-02-07 00:19+0000\n"
9+
"POT-Creation-Date: 2026-06-01 00:42+0000\n"
1010
"PO-Revision-Date: 2018-05-23 14:39+0000\n"
1111
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1212
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -199,35 +199,34 @@ msgstr ""
199199

200200
#: ../../library/binascii.rst:161
201201
msgid ""
202-
"Similar functionality (accepting only text string arguments, but more "
203-
"liberal towards whitespace) is also accessible using the :meth:`bytes."
204-
"fromhex` class method."
202+
"Similar functionality (but more liberal towards whitespace) is also "
203+
"accessible using the :meth:`bytes.fromhex` class method."
205204
msgstr ""
206205

207-
#: ../../library/binascii.rst:167
206+
#: ../../library/binascii.rst:166
208207
msgid "Exception raised on errors. These are usually programming errors."
209208
msgstr ""
210209

211-
#: ../../library/binascii.rst:172
210+
#: ../../library/binascii.rst:171
212211
msgid ""
213212
"Exception raised on incomplete data. These are usually not programming "
214213
"errors, but may be handled by reading a little more data and trying again."
215214
msgstr ""
216215

217-
#: ../../library/binascii.rst:178
216+
#: ../../library/binascii.rst:177
218217
msgid "Module :mod:`base64`"
219218
msgstr ":mod:`base64` 模組"
220219

221-
#: ../../library/binascii.rst:179
220+
#: ../../library/binascii.rst:178
222221
msgid ""
223222
"Support for RFC compliant base64-style encoding in base 16, 32, 64, and 85."
224223
msgstr ""
225224

226-
#: ../../library/binascii.rst:182
225+
#: ../../library/binascii.rst:181
227226
msgid "Module :mod:`quopri`"
228227
msgstr ":mod:`quopri` 模組"
229228

230-
#: ../../library/binascii.rst:183
229+
#: ../../library/binascii.rst:182
231230
msgid "Support for quoted-printable encoding used in MIME email messages."
232231
msgstr ""
233232

library/copy.po

Lines changed: 31 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.14\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2026-02-07 00:19+0000\n"
11+
"POT-Creation-Date: 2026-06-01 00:42+0000\n"
1212
"PO-Revision-Date: 2022-01-20 18:49+0800\n"
1313
"Last-Translator: Matt Wang <mattwang44@gmail.com>\n"
1414
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -139,37 +139,39 @@ msgstr ""
139139

140140
#: ../../library/copy.rst:75
141141
msgid ""
142-
"Shallow copies of dictionaries can be made using :meth:`dict.copy`, and of "
143-
"lists by assigning a slice of the entire list, for example, ``copied_list = "
144-
"original_list[:]``."
142+
"Shallow copies of many collections can be made using the corresponding :meth:"
143+
"`!copy` method (such as :meth:`list.copy`, :meth:`dict.copy` or :meth:`set."
144+
"copy`), and of sequences (such as lists or bytearrays) by making a slice of "
145+
"the entire sequence (``sequence[:]``). However, these methods and slicing "
146+
"can create an instance of the base type when copying an instance of a "
147+
"subclass, whereas :func:`copy.copy` normally returns an instance of the same "
148+
"type."
145149
msgstr ""
146-
"字典的淺層複製可以使用 :meth:`dict.copy`\\,而 list 的淺層複製可以透過賦值整"
147-
"個 list 的切片 (slice) 完成,例如,``copied_list = original_list[:]``。"
148150

149-
#: ../../library/copy.rst:81
151+
#: ../../library/copy.rst:85
150152
msgid ""
151153
"Classes can use the same interfaces to control copying that they use to "
152154
"control pickling. See the description of module :mod:`pickle` for "
153155
"information on these methods. In fact, the :mod:`!copy` module uses the "
154156
"registered pickle functions from the :mod:`copyreg` module."
155157
msgstr ""
156158
"類別可以使用與操作 pickle 相同的介面來控制複製操作,關於這些方法的描述資訊請"
157-
"參考 :mod:`pickle` 模組。實際上,:mod:`!copy` 模組使用的正是從 :mod:`copyreg` "
158-
"模組中註冊的 pickle 函式。"
159+
"參考 :mod:`pickle` 模組。實際上,:mod:`!copy` 模組使用的正是從 :mod:"
160+
"`copyreg` 模組中註冊的 pickle 函式。"
159161

160-
#: ../../library/copy.rst:92
162+
#: ../../library/copy.rst:96
161163
msgid ""
162164
"In order for a class to define its own copy implementation, it can define "
163165
"special methods :meth:`~object.__copy__` and :meth:`~object.__deepcopy__`."
164166
msgstr ""
165167

166-
#: ../../library/copy.rst:98
168+
#: ../../library/copy.rst:102
167169
msgid ""
168170
"Called to implement the shallow copy operation; no additional arguments are "
169171
"passed."
170172
msgstr ""
171173

172-
#: ../../library/copy.rst:104
174+
#: ../../library/copy.rst:108
173175
msgid ""
174176
"Called to implement the deep copy operation; it is passed one argument, the "
175177
"*memo* dictionary. If the ``__deepcopy__`` implementation needs to make a "
@@ -182,48 +184,56 @@ msgstr ""
182184
"deepcopy` 函式並以該元件作為第一個引數、以該 *memo* 字典作為第二個引數。"
183185
"*memo* 字典應當被當作不透明物件 (opaque object) 來處理"
184186

185-
#: ../../library/copy.rst:114
187+
#: ../../library/copy.rst:118
186188
msgid ""
187189
"Function :func:`!copy.replace` is more limited than :func:`~copy.copy` and :"
188190
"func:`~copy.deepcopy`, and only supports named tuples created by :func:"
189191
"`~collections.namedtuple`, :mod:`dataclasses`, and other classes which "
190192
"define method :meth:`~object.__replace__`."
191193
msgstr ""
192194

193-
#: ../../library/copy.rst:122
195+
#: ../../library/copy.rst:126
194196
msgid ""
195197
"This method should create a new object of the same type, replacing fields "
196198
"with values from *changes*."
197199
msgstr ""
198200

199-
#: ../../library/copy.rst:130
201+
#: ../../library/copy.rst:134
200202
msgid "Module :mod:`pickle`"
201203
msgstr ":mod:`pickle` 模組"
202204

203-
#: ../../library/copy.rst:131
205+
#: ../../library/copy.rst:135
204206
msgid ""
205207
"Discussion of the special methods used to support object state retrieval and "
206208
"restoration."
207209
msgstr ""
208210
"支援物件之狀態檢索 (state retrieval) 和恢復 (restoration) 相關特殊方法的討"
209211
"論。"
210212

211-
#: ../../library/copy.rst:79
213+
#: ../../library/copy.rst:83
212214
msgid "module"
213215
msgstr "module(模組)"
214216

215-
#: ../../library/copy.rst:79
217+
#: ../../library/copy.rst:83
216218
msgid "pickle"
217219
msgstr "pickle"
218220

219-
#: ../../library/copy.rst:86
221+
#: ../../library/copy.rst:90
220222
msgid "__copy__() (copy protocol)"
221223
msgstr "__copy__() (複製協定)"
222224

223-
#: ../../library/copy.rst:86
225+
#: ../../library/copy.rst:90
224226
msgid "__deepcopy__() (copy protocol)"
225227
msgstr "__deepcopy__() (複製協定)"
226228

227-
#: ../../library/copy.rst:111
229+
#: ../../library/copy.rst:115
228230
msgid "__replace__() (replace protocol)"
229231
msgstr "__replace__() (取代協定)"
232+
233+
#~ msgid ""
234+
#~ "Shallow copies of dictionaries can be made using :meth:`dict.copy`, and "
235+
#~ "of lists by assigning a slice of the entire list, for example, "
236+
#~ "``copied_list = original_list[:]``."
237+
#~ msgstr ""
238+
#~ "字典的淺層複製可以使用 :meth:`dict.copy`\\,而 list 的淺層複製可以透過賦值"
239+
#~ "整個 list 的切片 (slice) 完成,例如,``copied_list = original_list[:]``。"

0 commit comments

Comments
 (0)