44# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55#
66# Translators:
7- # Freesand Leo <[email protected] >, 2022 7+ # Freesand Leo <[email protected] >, 2023 88#
99#, fuzzy
1010msgid ""
@@ -13,7 +13,7 @@ msgstr ""
1313"Report-Msgid-Bugs-To : \n "
1414"POT-Creation-Date : 2023-12-15 14:14+0000\n "
1515"PO-Revision-Date : 2021-06-28 01:18+0000\n "
16- "
Last-Translator :
Freesand Leo <[email protected] >, 2022 \n "
16+ "
Last-Translator :
Freesand Leo <[email protected] >, 2023 \n "
1717"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
1818"MIME-Version : 1.0\n "
1919"Content-Type : text/plain; charset=UTF-8\n "
@@ -137,13 +137,17 @@ msgid ""
137137":attr:`function.__name__` will be used. *name* is a string, and may contain"
138138" characters not legal in Python identifiers, including the period character."
139139msgstr ""
140+ "注册一个可以响应 XML-RPC 请求的函数。 如果给出了 *name*,它将成为与 *function* 相关联的方法名,否则将使用 "
141+ ":attr:`function.__name__`。 *name* 是一个字符串,并可能包含不能用于 Python 标识符的字符,包括句点符等。"
140142
141143#: ../../library/xmlrpc.server.rst:90 ../../library/xmlrpc.server.rst:304
142144msgid ""
143145"This method can also be used as a decorator. When used as a decorator, "
144146"*name* can only be given as a keyword argument to register *function* under "
145147"*name*. If no *name* is given, :attr:`function.__name__` will be used."
146148msgstr ""
149+ "此方法也可用作装饰器。 当被用作装饰器时,*name* 只能被指定为以 *name* 注册的 *function* 的一个关键字参数。 如果没有指定 "
150+ "*name*,则将使用 :attr:`function.__name__`。"
147151
148152#: ../../library/xmlrpc.server.rst:94 ../../library/xmlrpc.server.rst:308
149153msgid ":meth:`register_function` can be used as a decorator."
0 commit comments