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

Skip to content

Commit 245a878

Browse files
[po] auto sync
1 parent 19c0743 commit 245a878

2 files changed

Lines changed: 22 additions & 2 deletions

File tree

c-api/datetime.po

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# Larry Wang <[email protected]>, 2019
88
# Jiu Hong Jiang <[email protected]>, 2019
99
# ppcfish <[email protected]>, 2019
10-
# Freesand Leo <[email protected]>, 2019
10+
# Freesand Leo <[email protected]>, 2020
1111
#
1212
#, fuzzy
1313
msgid ""
@@ -16,7 +16,7 @@ msgstr ""
1616
"Report-Msgid-Bugs-To: \n"
1717
"POT-Creation-Date: 2020-02-09 12:40+0000\n"
1818
"PO-Revision-Date: 2017-02-16 17:34+0000\n"
19-
"Last-Translator: Freesand Leo <[email protected]>, 2019\n"
19+
"Last-Translator: Freesand Leo <[email protected]>, 2020\n"
2020
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2121
"MIME-Version: 1.0\n"
2222
"Content-Type: text/plain; charset=UTF-8\n"
@@ -144,24 +144,31 @@ msgid ""
144144
"Return a :class:`datetime.datetime` object with the specified year, month, "
145145
"day, hour, minute, second and microsecond."
146146
msgstr ""
147+
"返回具有指定 year, month, day, hour, minute, second 和 microsecond 属性的 "
148+
":class:`datetime.datetime` 对象。"
147149

148150
#: ../../c-api/datetime.rst:103
149151
msgid ""
150152
"Return a :class:`datetime.datetime` object with the specified year, month, "
151153
"day, hour, minute, second, microsecond and fold."
152154
msgstr ""
155+
"返回具有指定 year, month, day, hour, minute, second, microsecond 和 fold 属性的 "
156+
":class:`datetime.datetime` 对象。"
153157

154158
#: ../../c-api/datetime.rst:111
155159
msgid ""
156160
"Return a :class:`datetime.time` object with the specified hour, minute, "
157161
"second and microsecond."
158162
msgstr ""
163+
"返回具有指定 hour, minute, second and microsecond 属性的 :class:`datetime.time` 对象。"
159164

160165
#: ../../c-api/datetime.rst:117
161166
msgid ""
162167
"Return a :class:`datetime.time` object with the specified hour, minute, "
163168
"second, microsecond and fold."
164169
msgstr ""
170+
"返回具有指定 hour, minute, second, microsecond 和 fold 属性的 :class:`datetime.time` "
171+
"对象。"
165172

166173
#: ../../c-api/datetime.rst:125
167174
msgid ""
@@ -170,6 +177,8 @@ msgid ""
170177
"resulting number of microseconds and seconds lie in the ranges documented "
171178
"for :class:`datetime.timedelta` objects."
172179
msgstr ""
180+
"返回代表给定天、秒和微秒数的 :class:`datetime.timedelta` 对象。 将执行正规化操作以使最终的微秒和秒数处在 "
181+
":class:`datetime.timedelta` 对象的文档指明的区间之内。"
173182

174183
#: ../../c-api/datetime.rst:132
175184
msgid ""

library/hmac.po

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,20 +43,27 @@ msgid ""
4343
"object to use. It may be any name suitable to :func:`hashlib.new`. Despite "
4444
"its argument position, it is required."
4545
msgstr ""
46+
"返回一个新的 hmac 对象。 *key* 是一个指定密钥的 bytes 或 bytearray 对象。 如果提供了 *msg*,将会调用 "
47+
"``update(msg)`` 方法。 *digestmod* 为 HMAC 对象所用的摘要名称、摘要构造器或模块。 它可以是适用于 "
48+
":func:`hashlib.new` 的任何名称。 虽然该参数位置靠后,但它却是必须的。"
4649

4750
#: ../../library/hmac.rst:25
4851
msgid ""
4952
"Parameter *key* can be a bytes or bytearray object. Parameter *msg* can be "
5053
"of any type supported by :mod:`hashlib`. Parameter *digestmod* can be the "
5154
"name of a hash algorithm."
5255
msgstr ""
56+
"形参 *key* 可以为 bytes 或 bytearray 对象。 形参 *msg* 可以为 :mod:`hashlib` 所支持的任意类型。 形参 "
57+
"*digestmod* 可以为某种哈希算法的名称。"
5358

5459
#: ../../library/hmac.rst:33
5560
msgid ""
5661
"MD5 as implicit default digest for *digestmod* is deprecated. The digestmod "
5762
"parameter is now required. Pass it as a keyword argument to avoid "
5863
"awkwardness when you do not have an initial msg."
5964
msgstr ""
65+
"MD5 作为 *digestmod* 的隐式默认摘要已被弃用。 digestmod 形参现在是必须的。 请将其作为关键字参数传入以避免当你没有初始 "
66+
"msg 时将导致的麻烦。"
6067

6168
#: ../../library/hmac.rst:38
6269
msgid ""
@@ -66,13 +73,17 @@ msgid ""
6673
" The parameters *key*, *msg*, and *digest* have the same meaning as in "
6774
":func:`~hmac.new`."
6875
msgstr ""
76+
"基于给定密钥 *key* 和 *digest* 返回 *msg* 的摘要。 此函数等价于 ``HMAC(key, msg, "
77+
"digest).digest()``,但使用了优化的 C 或内联实现,对放入内存的消息能处理得更快。 形参 *key*, *msg* 和 "
78+
"*digest* 具有与 :func:`~hmac.new` 中相同的含义。"
6979

7080
#: ../../library/hmac.rst:44
7181
msgid ""
7282
"CPython implementation detail, the optimized C implementation is only used "
7383
"when *digest* is a string and name of a digest algorithm, which is supported"
7484
" by OpenSSL."
7585
msgstr ""
86+
"作为 CPython 的实现细节,优化的 C 实现仅当 *digest* 为字符串并且是一个 OpenSSL 所支持的摘要算法的名称时才会被使用。"
7687

7788
#: ../../library/hmac.rst:51
7889
msgid "An HMAC object has the following methods:"

0 commit comments

Comments
 (0)