8
8
msgstr ""
9
9
"Project-Id-Version : Python 3.10\n "
10
10
"Report-Msgid-Bugs-To : \n "
11
- "POT-Creation-Date : 2021-10-28 17:11 +0000\n "
11
+ "POT-Creation-Date : 2022-01-05 00:10 +0000\n "
12
12
"PO-Revision-Date : 2018-05-23 14:41+0000\n "
13
13
"Last-Translator : Adrian Liaw <adrianliaw2000@gmail.com>\n "
14
14
"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -780,7 +780,7 @@ msgid ""
780
780
"absent."
781
781
msgstr ""
782
782
783
- #: ../../library/collections.rst:757 ../../library/collections.rst:1154
783
+ #: ../../library/collections.rst:757 ../../library/collections.rst:1156
784
784
msgid ""
785
785
"Added merge (``|``) and update (``|=``) operators, specified in :pep:`584`."
786
786
msgstr ""
@@ -1121,16 +1121,16 @@ msgstr ""
1121
1121
msgid ""
1122
1122
"Move an existing *key* to either end of an ordered dictionary. The item is "
1123
1123
"moved to the right end if *last* is true (the default) or to the beginning "
1124
- "if *last* is false. Raises :exc:`KeyError` if the *key* does not exist:: "
1124
+ "if *last* is false. Raises :exc:`KeyError` if the *key* does not exist:"
1125
1125
msgstr ""
1126
1126
1127
- #: ../../library/collections.rst:1135
1127
+ #: ../../library/collections.rst:1137
1128
1128
msgid ""
1129
1129
"In addition to the usual mapping methods, ordered dictionaries also support "
1130
1130
"reverse iteration using :func:`reversed`."
1131
1131
msgstr ""
1132
1132
1133
- #: ../../library/collections.rst:1138
1133
+ #: ../../library/collections.rst:1140
1134
1134
msgid ""
1135
1135
"Equality tests between :class:`OrderedDict` objects are order-sensitive and "
1136
1136
"are implemented as ``list(od1.items())==list(od2.items())``. Equality tests "
@@ -1140,49 +1140,49 @@ msgid ""
1140
1140
"dictionary is used."
1141
1141
msgstr ""
1142
1142
1143
- #: ../../library/collections.rst:1145
1143
+ #: ../../library/collections.rst:1147
1144
1144
msgid ""
1145
1145
"The items, keys, and values :term:`views <dictionary view>` of :class:"
1146
1146
"`OrderedDict` now support reverse iteration using :func:`reversed`."
1147
1147
msgstr ""
1148
1148
1149
- #: ../../library/collections.rst:1149
1149
+ #: ../../library/collections.rst:1151
1150
1150
msgid ""
1151
1151
"With the acceptance of :pep:`468`, order is retained for keyword arguments "
1152
1152
"passed to the :class:`OrderedDict` constructor and its :meth:`update` method."
1153
1153
msgstr ""
1154
1154
1155
- #: ../../library/collections.rst:1159
1155
+ #: ../../library/collections.rst:1161
1156
1156
msgid ":class:`OrderedDict` Examples and Recipes"
1157
1157
msgstr ""
1158
1158
1159
- #: ../../library/collections.rst:1161
1159
+ #: ../../library/collections.rst:1163
1160
1160
msgid ""
1161
1161
"It is straightforward to create an ordered dictionary variant that remembers "
1162
1162
"the order the keys were *last* inserted. If a new entry overwrites an "
1163
1163
"existing entry, the original insertion position is changed and moved to the "
1164
1164
"end::"
1165
1165
msgstr ""
1166
1166
1167
- #: ../../library/collections.rst:1173
1167
+ #: ../../library/collections.rst:1175
1168
1168
msgid ""
1169
1169
"An :class:`OrderedDict` would also be useful for implementing variants of :"
1170
1170
"func:`functools.lru_cache`:"
1171
1171
msgstr ""
1172
1172
1173
- #: ../../library/collections.rst:1271
1173
+ #: ../../library/collections.rst:1273
1174
1174
msgid ":class:`UserDict` objects"
1175
1175
msgstr ""
1176
1176
1177
- #: ../../library/collections.rst:1273
1177
+ #: ../../library/collections.rst:1275
1178
1178
msgid ""
1179
1179
"The class, :class:`UserDict` acts as a wrapper around dictionary objects. "
1180
1180
"The need for this class has been partially supplanted by the ability to "
1181
1181
"subclass directly from :class:`dict`; however, this class can be easier to "
1182
1182
"work with because the underlying dictionary is accessible as an attribute."
1183
1183
msgstr ""
1184
1184
1185
- #: ../../library/collections.rst:1281
1185
+ #: ../../library/collections.rst:1283
1186
1186
msgid ""
1187
1187
"Class that simulates a dictionary. The instance's contents are kept in a "
1188
1188
"regular dictionary, which is accessible via the :attr:`data` attribute of :"
@@ -1191,37 +1191,37 @@ msgid ""
1191
1191
"not be kept, allowing it to be used for other purposes."
1192
1192
msgstr ""
1193
1193
1194
- #: ../../library/collections.rst:1287
1194
+ #: ../../library/collections.rst:1289
1195
1195
msgid ""
1196
1196
"In addition to supporting the methods and operations of mappings, :class:"
1197
1197
"`UserDict` instances provide the following attribute:"
1198
1198
msgstr ""
1199
1199
1200
- #: ../../library/collections.rst:1292
1200
+ #: ../../library/collections.rst:1294
1201
1201
msgid ""
1202
1202
"A real dictionary used to store the contents of the :class:`UserDict` class."
1203
1203
msgstr ""
1204
1204
1205
- #: ../../library/collections.rst:1298
1205
+ #: ../../library/collections.rst:1300
1206
1206
msgid ":class:`UserList` objects"
1207
1207
msgstr ""
1208
1208
1209
- #: ../../library/collections.rst:1300
1209
+ #: ../../library/collections.rst:1302
1210
1210
msgid ""
1211
1211
"This class acts as a wrapper around list objects. It is a useful base class "
1212
1212
"for your own list-like classes which can inherit from them and override "
1213
1213
"existing methods or add new ones. In this way, one can add new behaviors to "
1214
1214
"lists."
1215
1215
msgstr ""
1216
1216
1217
- #: ../../library/collections.rst:1305
1217
+ #: ../../library/collections.rst:1307
1218
1218
msgid ""
1219
1219
"The need for this class has been partially supplanted by the ability to "
1220
1220
"subclass directly from :class:`list`; however, this class can be easier to "
1221
1221
"work with because the underlying list is accessible as an attribute."
1222
1222
msgstr ""
1223
1223
1224
- #: ../../library/collections.rst:1311
1224
+ #: ../../library/collections.rst:1313
1225
1225
msgid ""
1226
1226
"Class that simulates a list. The instance's contents are kept in a regular "
1227
1227
"list, which is accessible via the :attr:`data` attribute of :class:"
@@ -1230,19 +1230,19 @@ msgid ""
1230
1230
"for example a real Python list or a :class:`UserList` object."
1231
1231
msgstr ""
1232
1232
1233
- #: ../../library/collections.rst:1317
1233
+ #: ../../library/collections.rst:1319
1234
1234
msgid ""
1235
1235
"In addition to supporting the methods and operations of mutable sequences, :"
1236
1236
"class:`UserList` instances provide the following attribute:"
1237
1237
msgstr ""
1238
1238
1239
- #: ../../library/collections.rst:1322
1239
+ #: ../../library/collections.rst:1324
1240
1240
msgid ""
1241
1241
"A real :class:`list` object used to store the contents of the :class:"
1242
1242
"`UserList` class."
1243
1243
msgstr ""
1244
1244
1245
- #: ../../library/collections.rst:1325
1245
+ #: ../../library/collections.rst:1327
1246
1246
msgid ""
1247
1247
"**Subclassing requirements:** Subclasses of :class:`UserList` are expected "
1248
1248
"to offer a constructor which can be called with either no arguments or one "
@@ -1252,27 +1252,27 @@ msgid ""
1252
1252
"object used as a data source."
1253
1253
msgstr ""
1254
1254
1255
- #: ../../library/collections.rst:1332
1255
+ #: ../../library/collections.rst:1334
1256
1256
msgid ""
1257
1257
"If a derived class does not wish to comply with this requirement, all of the "
1258
1258
"special methods supported by this class will need to be overridden; please "
1259
1259
"consult the sources for information about the methods which need to be "
1260
1260
"provided in that case."
1261
1261
msgstr ""
1262
1262
1263
- #: ../../library/collections.rst:1338
1263
+ #: ../../library/collections.rst:1340
1264
1264
msgid ":class:`UserString` objects"
1265
1265
msgstr ""
1266
1266
1267
- #: ../../library/collections.rst:1340
1267
+ #: ../../library/collections.rst:1342
1268
1268
msgid ""
1269
1269
"The class, :class:`UserString` acts as a wrapper around string objects. The "
1270
1270
"need for this class has been partially supplanted by the ability to subclass "
1271
1271
"directly from :class:`str`; however, this class can be easier to work with "
1272
1272
"because the underlying string is accessible as an attribute."
1273
1273
msgstr ""
1274
1274
1275
- #: ../../library/collections.rst:1348
1275
+ #: ../../library/collections.rst:1350
1276
1276
msgid ""
1277
1277
"Class that simulates a string object. The instance's content is kept in a "
1278
1278
"regular string object, which is accessible via the :attr:`data` attribute "
@@ -1281,19 +1281,19 @@ msgid ""
1281
1281
"converted into a string using the built-in :func:`str` function."
1282
1282
msgstr ""
1283
1283
1284
- #: ../../library/collections.rst:1355
1284
+ #: ../../library/collections.rst:1357
1285
1285
msgid ""
1286
1286
"In addition to supporting the methods and operations of strings, :class:"
1287
1287
"`UserString` instances provide the following attribute:"
1288
1288
msgstr ""
1289
1289
1290
- #: ../../library/collections.rst:1360
1290
+ #: ../../library/collections.rst:1362
1291
1291
msgid ""
1292
1292
"A real :class:`str` object used to store the contents of the :class:"
1293
1293
"`UserString` class."
1294
1294
msgstr ""
1295
1295
1296
- #: ../../library/collections.rst:1363
1296
+ #: ../../library/collections.rst:1365
1297
1297
msgid ""
1298
1298
"New methods ``__getnewargs__``, ``__rmod__``, ``casefold``, ``format_map``, "
1299
1299
"``isprintable``, and ``maketrans``."
0 commit comments