@@ -4104,7 +4104,7 @@ msgid ""
41044104"are those byte values in the sequence "
41054105"``b'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'``."
41064106msgstr ""
4107- "如果序列中所有字节都是字母类 ASCII 字符并且序列不非空则返回真值 ,否则返回假值。 字母类 ASCII 字符就是字节值包含在序列 "
4107+ "如果序列中所有字节都是字母类 ASCII 字符并且序列非空则返回真值 ,否则返回假值。 字母类 ASCII 字符就是字节值包含在序列 "
41084108"``b'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'`` 中的字符。"
41094109
41104110#: ../../library/stdtypes.rst:2977
@@ -4119,12 +4119,14 @@ msgid ""
41194119"sequence is not empty, false otherwise. ASCII decimal digits are those byte "
41204120"values in the sequence ``b'0123456789'``."
41214121msgstr ""
4122+ "如果序列中所有字节都是 ASCII 十进制数码并且序列非空则返回真值,否则返回假值。 ASCII 十进制数码就是字节值包含在序列 "
4123+ "``b'0123456789'`` 中的字符。"
41224124
41234125#: ../../library/stdtypes.rst:3002
41244126msgid ""
41254127"Return true if there is at least one lowercase ASCII character in the "
41264128"sequence and no uppercase ASCII characters, false otherwise."
4127- msgstr ""
4129+ msgstr "如果序列中至少有一个小写 ASCII 字符并且没有大写 ASCII 字符则返回真值,否则返回假值。 "
41284130
41294131#: ../../library/stdtypes.rst:3012 ../../library/stdtypes.rst:3054
41304132#: ../../library/stdtypes.rst:3070 ../../library/stdtypes.rst:3120
@@ -4134,6 +4136,8 @@ msgid ""
41344136"``b'abcdefghijklmnopqrstuvwxyz'``. Uppercase ASCII characters are those byte"
41354137" values in the sequence ``b'ABCDEFGHIJKLMNOPQRSTUVWXYZ'``."
41364138msgstr ""
4139+ "小写 ASCII 字符就是字节值包含在序列 ``b'abcdefghijklmnopqrstuvwxyz'`` 中的字符。 大写 ASCII "
4140+ "字符就是字节值包含在序列 ``b'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`` 中的字符。"
41374141
41384142#: ../../library/stdtypes.rst:3020
41394143msgid ""
@@ -4142,25 +4146,28 @@ msgid ""
41424146"those byte values in the sequence ``b' \\ t\\ n\\ r\\ x0b\\ f'`` (space, tab, "
41434147"newline, carriage return, vertical tab, form feed)."
41444148msgstr ""
4149+ "如果序列中所有字节都是 ASCII 空白符并且序列非空则返回真值,否则返回假值。 ASCII 空白符就是字节值包含在序列 ``b' "
4150+ "\\ t\\ n\\ r\\ x0b\\ f'`` (空格, 制表, 换行, 回车, 垂直制表, 换页) 中的字符。"
41454151
41464152#: ../../library/stdtypes.rst:3029
41474153msgid ""
41484154"Return true if the sequence is ASCII titlecase and the sequence is not "
41494155"empty, false otherwise. See :meth:`bytes.title` for more details on the "
41504156"definition of \" titlecase\" ."
41514157msgstr ""
4158+ "如果序列为 ASCII 标题形式并且序列非空则返回真值,否则返回假值。 请参阅 :meth:`bytes.title` 了解有关“标题形式”的详细定义。"
41524159
41534160#: ../../library/stdtypes.rst:3044
41544161msgid ""
41554162"Return true if there is at least one uppercase alphabetic ASCII character in"
41564163" the sequence and no lowercase ASCII characters, false otherwise."
4157- msgstr ""
4164+ msgstr "如果序列中至少有一个大写字母 ASCII 字符并且没有小写 ASCII 字符则返回真值,否则返回假值。 "
41584165
41594166#: ../../library/stdtypes.rst:3062
41604167msgid ""
41614168"Return a copy of the sequence with all the uppercase ASCII characters "
41624169"converted to their corresponding lowercase counterpart."
4163- msgstr ""
4170+ msgstr "返回原序列的副本,其所有大写 ASCII 字符均转换为对应的小写形式。 "
41644171
41654172#: ../../library/stdtypes.rst:3087
41664173msgid ""
@@ -4169,19 +4176,23 @@ msgid ""
41694176"splitting lines. Line breaks are not included in the resulting list unless "
41704177"*keepends* is given and true."
41714178msgstr ""
4179+ "返回由原二进制序列中各行组成的列表,在 ASCII 行边界符的位置拆分。 此方法使用 :term:`universal newlines` 方式来分行。"
4180+ " 结果列表中不包含换行符,除非给出了 *keepends* 且为真值。"
41724181
41734182#: ../../library/stdtypes.rst:3099
41744183msgid ""
41754184"Unlike :meth:`~bytes.split` when a delimiter string *sep* is given, this "
41764185"method returns an empty list for the empty string, and a terminal line break"
41774186" does not result in an extra line::"
41784187msgstr ""
4188+ "不同于 :meth:`~bytes.split`,当给出了分隔符 *sep* "
4189+ "时,对于空字符串此方法将返回一个空列表,而末尾的换行不会令结果中增加额外的行::"
41794190
41804191#: ../../library/stdtypes.rst:3112
41814192msgid ""
41824193"Return a copy of the sequence with all the lowercase ASCII characters "
41834194"converted to their corresponding uppercase counterpart and vice-versa."
4184- msgstr ""
4195+ msgstr "返回原序列的副本,其所有小写 ASCII 字符均转换为对应的大写形式,反之亦反。 "
41854196
41864197#: ../../library/stdtypes.rst:3124
41874198msgid ""
@@ -4190,6 +4201,8 @@ msgid ""
41904201"conversions are symmetrical in ASCII, even though that is not generally true"
41914202" for arbitrary Unicode code points."
41924203msgstr ""
4204+ "不同于 :func:`str.swapcase()`,在些二进制版本下 ``bin.swapcase().swapcase() == bin`` "
4205+ "总是成立。 大小写转换在 ASCII 中是对称的,即使其对于任意 Unicode 码位来说并不总是成立。"
41934206
41944207#: ../../library/stdtypes.rst:3138
41954208msgid ""
0 commit comments