@@ -3557,6 +3557,9 @@ msgid ""
35573557"INDIC DIGIT ZERO. Formally a decimal character is a character in the "
35583558"Unicode General Category \" Nd\" . For example:"
35593559msgstr ""
3560+ "如果字符串中的所有字符都是十进制数码字符且至少有一个字符则返回 ``True``,否则返回 ``False``。 十进制数码字符指那些可以用于组成以 "
3561+ "10 为基数的数字的字符,如 U+0660, ARABIC-INDIC DIGIT ZERO。 正式地说十进制数码字符就是属于 Unicode 通用类别"
3562+ " \" Nd\" 的字符。 例如:"
35603563
35613564#: ../../library/stdtypes.rst:2105
35623565msgid ""
@@ -3567,6 +3570,12 @@ msgid ""
35673570">>> 'alphabetic'.isdecimal()\n"
35683571"False"
35693572msgstr ""
3573+ ">>> '0123456789'.isdecimal()\n"
3574+ "True\n"
3575+ ">>> '٠١٢٣٤٥٦٧٨٩'.isdecimal() # 阿拉伯-印度数字零至九\n"
3576+ "True\n"
3577+ ">>> 'alphabetic'.isdecimal()\n"
3578+ "False"
35703579
35713580#: ../../library/stdtypes.rst:2117
35723581msgid ""
@@ -3725,6 +3734,9 @@ msgid ""
37253734"*iterable*, including :class:`bytes` objects. The separator between "
37263735"elements is the string providing this method. For example:"
37273736msgstr ""
3737+ "返回一个由Return a string which is the concatenation of the strings in *iterable*"
3738+ " 中的字符串拼接而成的字符串。 如果 *iterable* 中存在任何非字符串值包括 :class:`bytes` 对象则会引发 "
3739+ ":exc:`TypeError`。 元素之前的分隔符将为提供此方法的字符串。 例如:"
37283740
37293741#: ../../library/stdtypes.rst:2233
37303742msgid ""
@@ -3733,10 +3745,14 @@ msgid ""
37333745">>> '-'.join('Python')\n"
37343746"'P-y-t-h-o-n'"
37353747msgstr ""
3748+ ">>> ', '.join(['spam', 'spam', 'spam'])\n"
3749+ "'spam, spam, spam'\n"
3750+ ">>> '-'.join('Python')\n"
3751+ "'P-y-t-h-o-n'"
37363752
37373753#: ../../library/stdtypes.rst:2240
37383754msgid "See also :meth:`split`."
3739- msgstr ""
3755+ msgstr "另请参阅 :meth:`split`。 "
37403756
37413757#: ../../library/stdtypes.rst:2245
37423758msgid ""
0 commit comments