55#
66# Translators:
778- # Freesand Leo <[email protected] >, 201898109# Zombie110year <[email protected] >, 20191110# ppcfish <[email protected] >, 20191211# Arisaka97 <[email protected] >, 202012+ # Freesand Leo <[email protected] >, 20201313#
1414#, fuzzy
1515msgid ""
@@ -18,7 +18,7 @@ msgstr ""
1818"Report-Msgid-Bugs-To : \n "
1919"POT-Creation-Date : 2020-05-26 14:03+0000\n "
2020"PO-Revision-Date : 2017-02-16 23:25+0000\n "
21- "Last-Translator : Arisaka97 <solitaire2312@gmail .com>, 2020\n "
21+ "Last-Translator : Freesand Leo <yuqinju@163 .com>, 2020\n "
2222"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
2323"MIME-Version : 1.0\n "
2424"Content-Type : text/plain; charset=UTF-8\n "
@@ -181,6 +181,9 @@ msgid ""
181181"integers representing file descriptors or objects with a parameterless "
182182"method named :meth:`~io.IOBase.fileno` returning such an integer:"
183183msgstr ""
184+ "这是一个明白直观的 Unix :c:func:`select` 系统调用接口。 "
185+ "前三个参数是由‘可等待对象’组成的序列:可以是代表文件描述符的整数,或是带有名为 :meth:`~io.IOBase.fileno` "
186+ "的返回这样的整数的无形参方法的对象:"
184187
185188#: ../../library/select.rst:124
186189msgid "*rlist*: wait until ready for reading"
@@ -205,6 +208,9 @@ msgid ""
205208"until at least one file descriptor is ready. A time-out value of zero "
206209"specifies a poll and never blocks."
207210msgstr ""
211+ "允许空的可迭代对象,但是否接受三个空的可迭代对象则取决于具体平台。 (已知在 Unix 上可行但在 Windows 上不可行。) 可选的 "
212+ "*timeout* 参数以一个浮点数表示超时秒数。 当省略 *timeout* 参数时该函数将阻塞直到至少有一个文件描述符准备就绪。 "
213+ "超时值为零表示执行轮询且永不阻塞。"
208214
209215#: ../../library/select.rst:136
210216msgid ""
@@ -222,6 +228,10 @@ msgid ""
222228" as long as it has an appropriate :meth:`~io.IOBase.fileno` method (that "
223229"really returns a file descriptor, not just a random integer)."
224230msgstr ""
231+ "可迭代对象中可接受的对象类型有 Python :term:`文件对象 <file object>` (例如 ``sys.stdin`` 以及 "
232+ ":func:`open` 或 :func:`os.popen` 所返回的对象),由 :func:`socket.socket` 返回的套接字对象等。 "
233+ "你也可以自定义一个 :dfn:`wrapper` 类,只要它具有适当的 :meth:`~io.IOBase.fileno` "
234+ "方法(该方法要确实返回一个文件描述符,而不能只是一个随机整数)。"
225235
226236#: ../../library/select.rst:155
227237msgid ""
0 commit comments