Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8c2efd1

Browse files
[po] auto sync
1 parent 3f8a52d commit 8c2efd1

2 files changed

Lines changed: 15 additions & 3 deletions

File tree

library/asynchat.po

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,25 +129,28 @@ msgid ""
129129
"data that the channel receives asynchronously. The methods are described "
130130
"below."
131131
msgstr ""
132+
"要构建一个可用的 :class:`async_chat` 子类,你的输入方法 :meth:`collect_incoming_data` 和 "
133+
":meth:`found_terminator` 必须要处理通道异步接收的数据。 这些参数的描述见下文。"
132134

133135
#: ../../library/asynchat.rst:84
134136
msgid ""
135137
"Pushes a ``None`` on to the producer queue. When this producer is popped off"
136138
" the queue it causes the channel to be closed."
137-
msgstr ""
139+
msgstr "将 ``None`` 推入生产者队列。 当此生产者被弹出队列时它将导致通道被关闭。"
138140

139141
#: ../../library/asynchat.rst:90
140142
msgid ""
141143
"Called with *data* holding an arbitrary amount of received data. The "
142144
"default method, which must be overridden, raises a "
143145
":exc:`NotImplementedError` exception."
144146
msgstr ""
147+
"调用时附带 *data*,其中包含任意数量的已接收数据。 必须被重载的默认方法将引发一个 :exc:`NotImplementedError` 异常。"
145148

146149
#: ../../library/asynchat.rst:97
147150
msgid ""
148151
"In emergencies this method will discard any data held in the input and/or "
149152
"output buffers and the producer queue."
150-
msgstr ""
153+
msgstr "在紧急情况下此方法将丢弃输入和/或输出缓冲区以及生产者队列中的任何数据。"
151154

152155
#: ../../library/asynchat.rst:103
153156
msgid ""
@@ -156,10 +159,12 @@ msgid ""
156159
"raises a :exc:`NotImplementedError` exception. The buffered input data "
157160
"should be available via an instance attribute."
158161
msgstr ""
162+
"当输入数据流能匹配 :meth:`set_terminator` 所设定的终结条件时会被调用。 必须被重载的默认方法将引发一个 "
163+
":exc:`NotImplementedError` 异常。 被缓冲的输入数据应当可以通过实例属性来获取。"
159164

160165
#: ../../library/asynchat.rst:111
161166
msgid "Returns the current terminator for the channel."
162-
msgstr ""
167+
msgstr "返回通道的当前终结器。"
163168

164169
#: ../../library/asynchat.rst:116
165170
msgid ""
@@ -168,6 +173,8 @@ msgid ""
168173
"although it is possible to use your own producers in more complex schemes to"
169174
" implement encryption and chunking, for example."
170175
msgstr ""
176+
"将数据推入通道的队列以确保其被传输。 "
177+
"要让通道将数据写到网络中你只需要这样做就足够了,虽然以更复杂的方式使用你自己的生产者也是有可能的,例如为了实现加密和分块。"
171178

172179
#: ../../library/asynchat.rst:124
173180
msgid ""
@@ -176,6 +183,8 @@ msgid ""
176183
"channel will consume this producer's data by calling its :meth:`more` method"
177184
" and send the data to the remote endpoint."
178185
msgstr ""
186+
"获取一个生产者对象并将其加入到与通道相关联的生产者队列中。 当所有当前已推入的生产者都已被耗尽时通道将通过调用其 :meth:`more` "
187+
"方法来耗用此生产者的数据并将数据发送至远程端点。"
179188

180189
#: ../../library/asynchat.rst:132
181190
msgid ""

library/subprocess.po

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1624,6 +1624,9 @@ msgid ""
16241624
"``input=b''`` (or ``input=''``, depending on other arguments) rather than "
16251625
"using the parent's standard input file handle."
16261626
msgstr ""
1627+
"上面显示的参数只是常见的一些。 完整的函数签名与 :func:`run` 的大致相同 —— 大部分参数会通过该接口直接传递。 存在一个与 "
1628+
":func:`run` 行为不同的 API 差异:传递 ``input=None`` 的行为将与 ``input=b''`` (或 "
1629+
"``input=''``,具体取决于其他参数) 一样而不是使用父对象的标准输入文件处理。"
16271630

16281631
#: ../../library/subprocess.rst:1170
16291632
msgid ""

0 commit comments

Comments
 (0)