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

Skip to content

Commit 137bfa8

Browse files
committed
[po] auto sync bot
1 parent 2891d18 commit 137bfa8

2 files changed

Lines changed: 14 additions & 4 deletions

File tree

library/asyncio-protocol.po

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,22 +212,26 @@ msgid ""
212212
":meth:`loop.create_unix_connection`, :meth:`loop.create_server`, "
213213
":meth:`loop.sendfile`, etc."
214214
msgstr ""
215+
"*传输* 类实例由如 :meth:`loop.create_connection` 、 "
216+
":meth:`loop.create_unix_connection` 、 :meth:`loop.create_server` 、 "
217+
":meth:`loop.sendfile` 等这类事件循环方法使用或返回。"
215218

216219
#: ../../library/asyncio-protocol.rst:127
217220
msgid "A transport for datagram (UDP) connections."
218-
msgstr ""
221+
msgstr "数据报(UDP)传输链接。"
219222

220223
#: ../../library/asyncio-protocol.rst:129
221224
msgid ""
222225
"Instances of the *DatagramTransport* class are returned from the "
223226
":meth:`loop.create_datagram_endpoint` event loop method."
224227
msgstr ""
228+
" *DatagramTransport* 类实例由事件循环方法 :meth:`loop.create_datagram_endpoint`  返回。"
225229

226230
#: ../../library/asyncio-protocol.rst:135
227231
msgid ""
228232
"An abstraction to represent a connection between a parent and its child OS "
229233
"process."
230-
msgstr ""
234+
msgstr "表示父进程和子进程之间连接的抽象。"
231235

232236
#: ../../library/asyncio-protocol.rst:138
233237
msgid ""
@@ -237,7 +241,7 @@ msgstr ""
237241

238242
#: ../../library/asyncio-protocol.rst:144
239243
msgid "Base Transport"
240-
msgstr ""
244+
msgstr "基础传输"
241245

242246
#: ../../library/asyncio-protocol.rst:148
243247
msgid "Close the transport."

library/datetime.po

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ msgstr "``repr(t)``"
541541
msgid ""
542542
"Returns a string representation of the :class:`timedelta` object as a "
543543
"constructor call with canonical attribute values."
544-
msgstr "返回一个构造器形式的表达 :class:`timedelta` 对象的字符串。"
544+
msgstr "返回一个构造器调用形式的字符串,形如 'datetime.datetime(2019, 6, 1, 12, 31)'。"
545545

546546
#: ../../library/datetime.rst:298 ../../library/datetime.rst:514
547547
#: ../../library/datetime.rst:2181
@@ -570,6 +570,8 @@ msgid ""
570570
"similarly to their internal representation. This leads to somewhat unusual "
571571
"results for negative timedeltas. For example:"
572572
msgstr ""
573+
" :class:`timedelta` 对象字符串的标准化与它们的内部表达方式相似。这就会导致在 ``timedelta`` "
574+
"为负值时一些不寻常的情况。例如:"
573575

574576
#: ../../library/datetime.rst:323
575577
msgid ""
@@ -584,6 +586,8 @@ msgid ""
584586
"support certain additions and subtractions with :class:`date` and "
585587
":class:`.datetime` objects (see below)."
586588
msgstr ""
589+
"除了上面列举的运算方法之外, :class:`timedelta` 对象还支持一些与 :class:`date` "
590+
"对象和:class:`.datetime` 对象的操作。(见下文)"
587591

588592
#: ../../library/datetime.rst:331
589593
msgid ""
@@ -611,6 +615,8 @@ msgid ""
611615
"object is considered to be true if and only if it isn't equal to "
612616
"``timedelta(0)``."
613617
msgstr ""
618+
":class:`timedelta` 对象是 :term:`hashable` 类型的(可以作为字典关键字), 支持高效获取, 在布尔上下文中, "
619+
":class:`timedelta` 对象大多数情况下都被视为真,仅在不等于 ``timedelta(0)`` 时。"
614620

615621
#: ../../library/datetime.rst:350 ../../library/datetime.rst:544
616622
#: ../../library/datetime.rst:1018 ../../library/datetime.rst:1538

0 commit comments

Comments
 (0)