88msgstr ""
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
141141msgid ""
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."
145149msgstr ""
146- "字典的淺層複製可以使用 :meth:`dict.copy`\\ ,而 list 的淺層複製可以透過賦值整"
147- "個 list 的切片 (slice) 完成,例如,``copied_list = original_list[:]``。"
148150
149- #: ../../library/copy.rst:81
151+ #: ../../library/copy.rst:85
150152msgid ""
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."
155157msgstr ""
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
161163msgid ""
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__`."
164166msgstr ""
165167
166- #: ../../library/copy.rst:98
168+ #: ../../library/copy.rst:102
167169msgid ""
168170"Called to implement the shallow copy operation; no additional arguments are "
169171"passed."
170172msgstr ""
171173
172- #: ../../library/copy.rst:104
174+ #: ../../library/copy.rst:108
173175msgid ""
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
186188msgid ""
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__`."
191193msgstr ""
192194
193- #: ../../library/copy.rst:122
195+ #: ../../library/copy.rst:126
194196msgid ""
195197"This method should create a new object of the same type, replacing fields "
196198"with values from *changes*."
197199msgstr ""
198200
199- #: ../../library/copy.rst:130
201+ #: ../../library/copy.rst:134
200202msgid "Module :mod:`pickle`"
201203msgstr ":mod:`pickle` 模組"
202204
203- #: ../../library/copy.rst:131
205+ #: ../../library/copy.rst:135
204206msgid ""
205207"Discussion of the special methods used to support object state retrieval and "
206208"restoration."
207209msgstr ""
208210"支援物件之狀態檢索 (state retrieval) 和恢復 (restoration) 相關特殊方法的討"
209211"論。"
210212
211- #: ../../library/copy.rst:79
213+ #: ../../library/copy.rst:83
212214msgid "module"
213215msgstr "module(模組)"
214216
215- #: ../../library/copy.rst:79
217+ #: ../../library/copy.rst:83
216218msgid "pickle"
217219msgstr "pickle"
218220
219- #: ../../library/copy.rst:86
221+ #: ../../library/copy.rst:90
220222msgid "__copy__() (copy protocol)"
221223msgstr "__copy__() (複製協定)"
222224
223- #: ../../library/copy.rst:86
225+ #: ../../library/copy.rst:90
224226msgid "__deepcopy__() (copy protocol)"
225227msgstr "__deepcopy__() (複製協定)"
226228
227- #: ../../library/copy.rst:111
229+ #: ../../library/copy.rst:115
228230msgid "__replace__() (replace protocol)"
229231msgstr "__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