8000 [po] auto sync · python/python-docs-zh-cn@c2a8c31 · GitHub
[go: up one dir, main page]

Skip to content

Commit c2a8c31

Browse files
[po] auto sync
1 parent 79fc9be commit c2a8c31

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "81.42%", "updated_at": "2025-04-25T14:55:58Z"}
1+
{"translation": "81.42%", "updated_at": "2025-04-25T15:55:58Z"}

library/hashlib.po

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ msgid ""
4545
"(`formerly part of FIPS`_) and the MD5 algorithm (defined in internet "
4646
":rfc:`1321`)."
4747
msgstr ""
48+
"本模块实现了一个针对不同哈希算法的通用接口。 包括了 FIPS 安全哈希算法 SHA224, SHA256, SHA384, SHA512, (定义见 "
49+
"`the FIPS 180-4 standard`_), SHA-3 系列 (定义见 `the FIPS 202 standard`_) 以及旧式算法 "
50+
"SHA1 (`formerly part of FIPS`_) 和 MD5 算法 (定义见 internet :rfc:`1321`)。"
4851

4952
#: ../../library/hashlib.rst:31
5053
msgid ""
@@ -371,6 +374,9 @@ msgid ""
371374
"similar. *fileobj* must be opened in blocking mode, otherwise a "
372375
":exc:`BlockingIOError` may be raised."
373376
msgstr ""
377+
"*fileobj* 必须是一个以二进制模式打开用于读取的文件型对象。 它接受来自内置 :func:`open`, "
378+
":class:`~io.BytesIO` 实例, :meth:`socket.socket.makefile` 创建的 SocketIO "
379+
"及其他类似的文件对象。 *fileobj* 必须以阻塞模式打开,否则可能引发 :exc:`BlockingIOError`。"
374380

375381
#: ../../library/hashlib.rst:276
376382
msgid ""
@@ -379,6 +385,8 @@ msgid ""
379385
"unknown state after this function returns or raises. It is up to the caller "
380386
"to close *fileobj*."
381387
msgstr ""
388+
"此函数可能会绕过 Python 的 I/O 并直接使用来自 :meth:`~io.IOBase.fileno` 的文件描述符。 *fileobj* "
389+
"在此函数返回或引发异常之后必须被假定为已处于未知状态。 应当由调用方来负责关闭 *fileobj*。"
382390

383391
#: ../../library/hashlib.rst:281
384392
msgid ""

0 commit comments

Comments
 (0)
0