@@ -1248,109 +1248,109 @@ msgstr "``x not in s``"
12481248
12491249#: ../../library/stdtypes.rst:861
12501250msgid "``False`` if an item of *s* is equal to *x*, else ``True``"
1251- msgstr ""
1251+ msgstr "如果 *s* 中的某项等于 *x* 则结果为 ``False``,否则为 ``True`` "
12521252
12531253#: ../../library/stdtypes.rst:864
12541254msgid "``s + t``"
1255- msgstr ""
1255+ msgstr "``s + t`` "
12561256
12571257#: ../../library/stdtypes.rst:864
12581258msgid "the concatenation of *s* and *t*"
1259- msgstr ""
1259+ msgstr "*s* 与 *t* 相拼接 "
12601260
12611261#: ../../library/stdtypes.rst:864
12621262msgid "(6)(7)"
1263- msgstr ""
1263+ msgstr "(6)(7) "
12641264
12651265#: ../../library/stdtypes.rst:867
12661266msgid "``s * n`` or ``n * s``"
1267- msgstr ""
1267+ msgstr "``s * n`` 或 ``n * s`` "
12681268
12691269#: ../../library/stdtypes.rst:867
12701270msgid "equivalent to adding *s* to itself *n* times"
1271- msgstr ""
1271+ msgstr "相当于 *s* 与自身进行 *n* 次拼接 "
12721272
12731273#: ../../library/stdtypes.rst:867
12741274msgid "(2)(7)"
1275- msgstr ""
1275+ msgstr "(2)(7) "
12761276
12771277#: ../../library/stdtypes.rst:870
12781278msgid "``s[i]``"
1279- msgstr ""
1279+ msgstr "``s[i]`` "
12801280
12811281#: ../../library/stdtypes.rst:870
12821282msgid "*i*\\ th item of *s*, origin 0"
1283- msgstr ""
1283+ msgstr "*s* 的第 *i* 项,起始为 0 "
12841284
12851285#: ../../library/stdtypes.rst:872
12861286msgid "``s[i:j]``"
1287- msgstr ""
1287+ msgstr "``s[i:j]`` "
12881288
12891289#: ../../library/stdtypes.rst:872
12901290msgid "slice of *s* from *i* to *j*"
1291- msgstr ""
1291+ msgstr "*s* 从 *i* 到 *j* 的切片 "
12921292
12931293#: ../../library/stdtypes.rst:872
12941294msgid "(3)(4)"
1295- msgstr ""
1295+ msgstr "(3)(4) "
12961296
12971297#: ../../library/stdtypes.rst:874
12981298msgid "``s[i:j:k]``"
1299- msgstr ""
1299+ msgstr "``s[i:j:k]`` "
13001300
13011301#: ../../library/stdtypes.rst:874
13021302msgid "slice of *s* from *i* to *j* with step *k*"
1303- msgstr ""
1303+ msgstr "*s* 从 *i* 到 *j* 步长为 *k* 的切片 "
13041304
13051305#: ../../library/stdtypes.rst:874
13061306msgid "(3)(5)"
1307- msgstr ""
1307+ msgstr "(3)(5) "
13081308
13091309#: ../../library/stdtypes.rst:877
13101310msgid "``len(s)``"
1311- msgstr ""
1311+ msgstr "``len(s)`` "
13121312
13131313#: ../../library/stdtypes.rst:877
13141314msgid "length of *s*"
1315- msgstr ""
1315+ msgstr "*s* 的长度 "
13161316
13171317#: ../../library/stdtypes.rst:879
13181318msgid "``min(s)``"
1319- msgstr ""
1319+ msgstr "``min(s)`` "
13201320
13211321#: ../../library/stdtypes.rst:879
13221322msgid "smallest item of *s*"
1323- msgstr ""
1323+ msgstr "*s* 的最小项 "
13241324
13251325#: ../../library/stdtypes.rst:881
13261326msgid "``max(s)``"
1327- msgstr ""
1327+ msgstr "``max(s)`` "
13281328
13291329#: ../../library/stdtypes.rst:881
13301330msgid "largest item of *s*"
1331- msgstr ""
1331+ msgstr "*s* 的最大项 "
13321332
13331333#: ../../library/stdtypes.rst:883
13341334msgid "``s.index(x[, i[, j]])``"
1335- msgstr ""
1335+ msgstr "``s.index(x[, i[, j]])`` "
13361336
13371337#: ../../library/stdtypes.rst:883
13381338msgid ""
13391339"index of the first occurrence of *x* in *s* (at or after index *i* and "
13401340"before index *j*)"
1341- msgstr ""
1341+ msgstr "*x* 在 *s* 中首次出现项的索引号(索引号在 *i* 或其后且在 *j* 之前) "
13421342
13431343#: ../../library/stdtypes.rst:883 ../../library/stdtypes.rst:3339
13441344msgid "\\ (8)"
1345- msgstr ""
1345+ msgstr "\\ (8) "
13461346
13471347#: ../../library/stdtypes.rst:887
13481348msgid "``s.count(x)``"
1349- msgstr ""
1349+ msgstr "``s.count(x)`` "
13501350
13511351#: ../../library/stdtypes.rst:887
13521352msgid "total number of occurrences of *x* in *s*"
1353- msgstr ""
1353+ msgstr "*x* 在 *s* 中出现的总次数 "
13541354
13551355#: ../../library/stdtypes.rst:891
13561356msgid ""
@@ -1360,6 +1360,9 @@ msgid ""
13601360" and the two sequences must be of the same type and have the same length. "
13611361"(For full details see :ref:`comparisons` in the language reference.)"
13621362msgstr ""
1363+ "相同类型的序列也支持比较。 特别地,tuple 和 list 的比较是通过比较对应元素的字典顺序。 "
1364+ "这意味着想要比较结果相等,则每个元素比较结果都必须相等,并且两个序列长度必须相同。 (完整细节请参阅语言参考的 :ref:`comparisons` "
1365+ "部分。)"
13631366
13641367#: ../../library/stdtypes.rst:900
13651368msgid ""
0 commit comments