Skip to content

Commit 3b49a64

Browse files
[po] auto sync
1 parent 3f58a0b commit 3b49a64

File tree

3 files changed

+25
-11
lines changed

3 files changed

+25
-11
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "81.72%", "updated_at": "2025-06-01T14:55:31Z"}
1+
{"translation": "81.74%", "updated_at": "2025-06-02T07:55:40Z"}

c-api/intro.po

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1370,35 +1370,35 @@ msgstr "下列第三方工具提供了为 Python 创建 C, C++ 和 Rust 扩展
13701370

13711371
#: ../../c-api/intro.rst:847
13721372
msgid "`Cython <https://cython.org/>`_"
1373-
msgstr ""
1373+
msgstr "`Cython <https://cython.org/>`_"
13741374

13751375
#: ../../c-api/intro.rst:848
13761376
msgid "`cffi <https://cffi.readthedocs.io>`_"
1377-
msgstr ""
1377+
msgstr "`cffi <https://cffi.readthedocs.io>`_"
13781378

13791379
#: ../../c-api/intro.rst:849
13801380
msgid "`HPy <https://hpyproject.org/>`_"
1381-
msgstr ""
1381+
msgstr "`HPy <https://hpyproject.org/>`_"
13821382

13831383
#: ../../c-api/intro.rst:850
13841384
msgid "`nanobind <https://github.com/wjakob/nanobind>`_ (C++)"
1385-
msgstr ""
1385+
msgstr "`nanobind <https://github.com/wjakob/nanobind>`_ (C++)"
13861386

13871387
#: ../../c-api/intro.rst:851
13881388
msgid "`Numba <https://numba.pydata.org/>`_"
1389-
msgstr ""
1389+
msgstr "`Numba <https://numba.pydata.org/>`_"
13901390

13911391
#: ../../c-api/intro.rst:852
13921392
msgid "`pybind11 <https://pybind11.readthedocs.io/>`_ (C++)"
1393-
msgstr ""
1393+
msgstr "`pybind11 <https://pybind11.readthedocs.io/>`_ (C++)"
13941394

13951395
#: ../../c-api/intro.rst:853
13961396
msgid "`PyO3 <https://pyo3.rs/>`_ (Rust)"
1397-
msgstr ""
1397+
msgstr "`PyO3 <https://pyo3.rs/>`_ (Rust)"
13981398

13991399
#: ../../c-api/intro.rst:854
14001400
msgid "`SWIG <https://www.swig.org>`_"
1401-
msgstr ""
1401+
msgstr "`SWIG <https://www.swig.org>`_"
14021402

14031403
#: ../../c-api/intro.rst:856
14041404
msgid ""
@@ -1410,6 +1410,9 @@ msgid ""
14101410
"support compiling for other implementations of Python from a single set of "
14111411
"sources."
14121412
msgstr ""
1413+
"使用这些工具可以避免编写与特定版本的 CPython 紧密绑定的代码,避免引用计数错误,并能更多地关注你自己的代码而不是关注如何使用 CPython "
1414+
"API。 总的来说,Python 的新版本可通过更新此类工具来获得支持,并且你的代码通常都将自动使用更新且更高效的 API。 "
1415+
"有些工具还支持基于单个源代码集针对其他 Python 实现进行编译。"
14131416

14141417
#: ../../c-api/intro.rst:863
14151418
msgid ""
@@ -1418,6 +1421,8 @@ msgid ""
14181421
" the project is still maintained and supported, as the list above may become"
14191422
" outdated."
14201423
msgstr ""
1424+
"这些项目并不是由维护 Python 的同一批人提供支持的,程序相关的问题需要直接向项目提出。 "
1425+
"请记得检查项目是否仍然获得维护与支持,因为上面的列表可能会变得过时。"
14211426

14221427
#: ../../c-api/intro.rst:870
14231428
msgid ""

library/io.po

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.13\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2025-05-23 14:55+0000\n"
15+
"POT-Creation-Date: 2025-05-30 14:58+0000\n"
1616
"PO-Revision-Date: 2025-05-08 05:09+0000\n"
1717
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2025\n"
1818
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -979,13 +979,18 @@ msgid ""
979979
"streams this is to EOF, but for non-blocking streams more data may become "
980980
"available."
981981
msgstr ""
982+
"当需要尽量多读取时默认实现将在可能的情况下使用 ``raw.readall`` (它应当实现 "
983+
":meth:`RawIOBase.readall`),否则将在循环中读取直到读取操作返回 ``None``、空 :class:`bytes` "
984+
"或是不可重试的错误。 对于大多数流来说就是直到 EOF,但对于非阻塞流来说可能会有更多数据可用。"
982985

983986
#: ../../library/io.rst:582 ../../library/io.rst:595
984987
msgid ""
985988
"When the underlying raw stream is non-blocking, implementations may either "
986989
"raise :exc:`BlockingIOError` or return ``None`` if no data is available. "
987990
":mod:`io` implementations return ``None``."
988991
msgstr ""
992+
"当下层的原始流是非阻塞流时,实现可能会引发 :exc:`BlockingIOError` 或者在没有可用数据时返回 ``None``。 "
993+
":mod:`io` 的实现将返回 ``None``。"
989994

990995
#: ../../library/io.rst:588
991996
msgid ""
@@ -994,6 +999,8 @@ msgid ""
994999
"If *size* is ``-1`` or not provided, the implementation will choose an "
9951000
"arbitrary value for *size*."
9961001
msgstr ""
1002+
"读取并返回至多 *size* 个字节,调用根据 :pep:`475` 在遇到 :py:const:`~errno.EINTR` 时可能重试的 "
1003+
":meth:`~RawIOBase.readinto`。 如果 *size* 为 ``-1`` 未被提供,实现将为 *size* 选择一个任意值。"
9971004

9981005
#: ../../library/io.rst:601
9991006
msgid ""
@@ -1270,7 +1277,7 @@ msgid ""
12701277
"Return bytes from the stream without advancing the position. The number of "
12711278
"bytes returned may be less or more than requested. If the underlying raw "
12721279
"stream is non-blocking and the operation would block, returns empty bytes."
1273-
msgstr ""
1280+
msgstr "从流返回字节数据而不会前移指针位置。 返回的字节数量可能少于或多于请求的数量。 如果下层的原始流是非阻塞流而操作将要阻塞,则返回空字节串。"
12741281

12751282
#: ../../library/io.rst:780
12761283
msgid ""
@@ -1349,6 +1356,8 @@ msgid ""
13491356
":attr:`BlockingIOError.characters_written` set is raised if the buffer needs"
13501357
" to be written out but the raw stream blocks."
13511358
msgstr ""
1359+
"写入 :term:`bytes-like object` *b*,并返回写入的字节数。 当处于非阻塞模式时,如果缓冲区需要被写入但原始流发生阻塞则会引发"
1360+
" :exc:`BlockingIOError` 并设置 :attr:`BlockingIOError.characters_written`。"
13521361

13531362
#: ../../library/io.rst:827
13541363
msgid ""

0 commit comments

Comments
 (0)