99msgstr ""
1010"Project-Id-Version :Python 3.11\n "
1111"Report-Msgid-Bugs-To :\n "
12- "POT-Creation-Date :2023-05-09 00:15 +0000\n "
12+ "POT-Creation-Date :2023-06-25 00:20 +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- "
@@ -117,40 +117,41 @@ msgid ""
117117"``NULL`` if the key *key* is not present, but *without* setting an exception."
118118msgstr ""
119119
120- #: ../../c-api/dict.rst:101
120+ #: ../../c-api/dict.rst:103
121121msgid ""
122- "Note thatexceptions which occur whilecalling :meth:`__hash__` and :meth:"
123- "`__eq__` methodswill get suppressed. To get error reporting use :c:func:"
124- "`PyDict_GetItemWithError()` instead."
122+ "Exceptions that occur whilethis calls :meth:`~object. __hash__` and :meth:"
123+ "`~object. __eq__` methodsare silently ignored. Prefer the :c:func:"
124+ "`PyDict_GetItemWithError` function instead."
125125msgstr ""
126126
127- #: ../../c-api/dict.rst:105
127+ #: ../../c-api/dict.rst:107
128128msgid ""
129129"Calling this API without :term:`GIL` held had been allowed for historical "
130130"reason. It is no longer allowed."
131131msgstr ""
132132
133- #: ../../c-api/dict.rst:112
133+ #: ../../c-api/dict.rst:114
134134msgid ""
135135"Variant of :c:func:`PyDict_GetItem` that does not suppress exceptions. "
136136"Return ``NULL`` **with** an exception set if an exception occurred. Return "
137137"``NULL`` **without** an exception set if the key wasn't present."
138138msgstr ""
139139
140- #: ../../c-api/dict.rst:120
140+ #: ../../c-api/dict.rst:122
141141msgid ""
142142"This is the same as :c:func:`PyDict_GetItem`, but *key* is specified as a :c:"
143143"expr:`const char*`, rather than a :c:expr:`PyObject*`."
144144msgstr ""
145145
146- #: ../../c-api/dict.rst:123
146+ #: ../../c-api/dict.rst:127
147147msgid ""
148- "Note that exceptions which occur while calling :meth:`__hash__` and :meth:"
149- "`__eq__` methods and creating a temporary string object will get suppressed. "
150- "To get error reporting use :c:func:`PyDict_GetItemWithError()` instead."
148+ "Exceptions that occur while this calls :meth:`~object.__hash__` and :meth:"
149+ "`~object.__eq__` methods or while creating the temporary :class:`str` object "
150+ "are silently ignored. Prefer using the :c:func:`PyDict_GetItemWithError` "
151+ "function with your own :c:func:`PyUnicode_FromString` *key* instead."
151152msgstr ""
152153
153- #: ../../c-api/dict.rst:131
154+ #: ../../c-api/dict.rst:136
154155msgid ""
155156"This is the same as the Python-level :meth:`dict.setdefault`. If present, "
156157"it returns the value corresponding to *key* from the dictionary *p*. If the "
@@ -160,29 +161,29 @@ msgid ""
160161"the insertion."
161162msgstr ""
162163
163- #: ../../c-api/dict.rst:141
164+ #: ../../c-api/dict.rst:146
164165msgid ""
165166"Return a :c:type:`PyListObject` containing all the items from the dictionary."
166167msgstr ""
167168
168- #: ../../c-api/dict.rst:146
169+ #: ../../c-api/dict.rst:151
169170msgid ""
170171"Return a :c:type:`PyListObject` containing all the keys from the dictionary."
171172msgstr ""
172173
173- #: ../../c-api/dict.rst:151
174+ #: ../../c-api/dict.rst:156
174175msgid ""
175176"Return a :c:type:`PyListObject` containing all the values from the "
176177"dictionary *p*."
177178msgstr ""
178179
179- #: ../../c-api/dict.rst:159
180+ #: ../../c-api/dict.rst:164
180181msgid ""
181182"Return the number of items in the dictionary. This is equivalent to "
182183"``len(p)`` on a dictionary."
183184msgstr ""
184185
185- #: ../../c-api/dict.rst:165
186+ #: ../../c-api/dict.rst:170
186187msgid ""
187188"Iterate over all key-value pairs in the dictionary *p*. The :c:type:"
188189"`Py_ssize_t` referred to by *ppos* must be initialized to ``0`` prior to the "
@@ -196,21 +197,21 @@ msgid ""
196197"structure is sparse, the offsets are not consecutive."
197198msgstr ""
198199
199- #: ../../c-api/dict.rst:176
200+ #: ../../c-api/dict.rst:181
200201msgid "For example::"
201202msgstr ""
202203"舉例來說:\n"
203204"\n"
204205"::"
205206
206- #: ../../c-api/dict.rst:186
207+ #: ../../c-api/dict.rst:191
207208msgid ""
208209"The dictionary *p* should not be mutated during iteration. It is safe to "
209210"modify the values of the keys as you iterate over the dictionary, but only "
210211"so long as the set of keys does not change. For example::"
211212msgstr ""
212213
213- #: ../../c-api/dict.rst:211
214+ #: ../../c-api/dict.rst:216
214215msgid ""
215216"Iterate over mapping object *b* adding key-value pairs to dictionary *a*. "
216217"*b* may be a dictionary, or any object supporting :c:func:`PyMapping_Keys` "
@@ -220,7 +221,7 @@ msgid ""
220221"or ``-1`` if an exception was raised."
221222msgstr ""
222223
223- #: ../../c-api/dict.rst:221
224+ #: ../../c-api/dict.rst:226
224225msgid ""
225226"This is the same as ``PyDict_Merge(a, b, 1)`` in C, and is similar to ``a."
226227"update(b)`` in Python except that :c:func:`PyDict_Update` doesn't fall back "
@@ -229,7 +230,7 @@ msgid ""
229230"exception was raised."
230231msgstr ""
231232
232- #: ../../c-api/dict.rst:230
233+ #: ../../c-api/dict.rst:235
233234msgid ""
234235"Update or merge into dictionary *a*, from the key-value pairs in *seq2*. "
235236"*seq2* must be an iterable object producing iterable objects of length 2, "
@@ -250,10 +251,10 @@ msgstr "dictionary(字典)"
250251msgid "PyUnicode_FromString()"
251252msgstr "PyUnicode_FromString()"
252253
253- #: ../../c-api/dict.rst:157
254+ #: ../../c-api/dict.rst:162
254255msgid "built-in function"
255256msgstr "built-in function(內建函式)"
256257
257- #: ../../c-api/dict.rst:157
258+ #: ../../c-api/dict.rst:162
258259msgid "len"
259260msgstr "len"