19
19
# helloworldSB <warningfor163@foxmail.com>, 2021
20
20
# Dai Xu <daixu61@hotmail.com>, 2021
21
21
# ProgramRipper, 2023
22
- # Freesand Leo <yuqinju@163.com>, 2024
22
+ # Freesand Leo <yuqinju@163.com>, 2025
23
23
#
24
24
#, fuzzy
25
25
msgid ""
@@ -28,7 +28,7 @@ msgstr ""
28
28
"Report-Msgid-Bugs-To : \n "
29
29
"POT-Creation-Date : 2025-05-02 14:19+0000\n "
30
30
"PO-Revision-Date : 2021-06-28 00:47+0000\n "
31
- "Last-Translator : Freesand Leo <yuqinju@163.com>, 2024 \n "
31
+ "Last-Translator : Freesand Leo <yuqinju@163.com>, 2025 \n "
32
32
"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
33
33
"MIME-Version : 1.0\n "
34
34
"Content-Type : text/plain; charset=UTF-8\n "
@@ -65,6 +65,7 @@ msgid ""
65
65
"Python provides such a facility at the C and Python level in the form of the"
66
66
" :ref:`buffer protocol <bufferobjects>`. This protocol has two sides:"
67
67
msgstr ""
68
+ "Python 以 :ref:`缓冲区协议 <bufferobjects>` 的形式在 C 和 Python 层级上提供这样的功能。 此协议包括两个方面:"
68
69
69
70
#: ../../c-api/buffer.rst:34
70
71
msgid ""
@@ -73,13 +74,17 @@ msgid ""
73
74
"This interface is described in the section :ref:`buffer-structs`; for Python"
74
75
" see :ref:`python-buffer-protocol`."
75
76
msgstr ""
77
+ "在生产者方面,一个类型可以导出一个“缓冲区接口”,它允许将该类型的所有对象对外暴露有关其下层缓冲区的信息。 此接口的描述参见 :ref:`buffer-"
78
+ "structs` 一节;Python 层级参见 :ref:`python-buffer-protocol`。"
76
79
77
80
#: ../../c-api/buffer.rst:39
78
81
msgid ""
79
82
"on the consumer side, several means are available to obtain a pointer to the"
80
83
" raw underlying data of an object (for example a method parameter). For "
81
84
"Python see :class:`memoryview`."
82
85
msgstr ""
86
+ "在消费者方面,有几种方式可被用于获得指向一个对象的原始底层数据的指针(例如一个方法的形参)。 Python 层级参见 "
87
+ ":class:`memoryview`。"
83
88
84
89
#: ../../c-api/buffer.rst:43
85
90
msgid ""
@@ -138,6 +143,7 @@ msgid ""
138
143
"The buffer protocol is now accessible in Python, see :ref:`python-buffer-"
139
144
"protocol` and :class:`memoryview`."
140
145
msgstr ""
146
+ "现在可在 Python 中使用缓冲区协议,参见 :ref:`python-buffer-protocol` 和 :class:`memoryview`。"
141
147
142
148
#: ../../c-api/buffer.rst:75
143
149
msgid "Buffer structure"
0 commit comments