7
7
msgstr ""
8
8
"Project-Id-Version : Python 3.12\n "
9
9
"Report-Msgid-Bugs-To : \n "
10
- "POT-Creation-Date : 2023-05-09 00:15 +0000\n "
10
+ "POT-Creation-Date : 2024-01-30 00:03 +0000\n "
11
11
"PO-Revision-Date : 2015-12-09 17:51+0000\n "
12
12
"
Last-Translator :
Liang-Bo Wang <[email protected] >\n "
13
13
"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -37,20 +37,28 @@ msgid ""
37
37
"the discretion of the exporter."
38
38
msgstr ""
39
39
40
- #: ../../c-api/memoryview.rst:25
40
+ #: ../../c-api/memoryview.rst:26
41
+ msgid "Flag to request a readonly buffer."
42
+ msgstr ""
43
+
44
+ #: ../../c-api/memoryview.rst:31
45
+ msgid "Flag to request a writable buffer."
46
+ msgstr ""
47
+
48
+ #: ../../c-api/memoryview.rst:36
41
49
msgid ""
42
50
"Create a memoryview object using *mem* as the underlying buffer. *flags* can "
43
51
"be one of :c:macro:`PyBUF_READ` or :c:macro:`PyBUF_WRITE`."
44
52
msgstr ""
45
53
46
- #: ../../c-api/memoryview.rst:32
54
+ #: ../../c-api/memoryview.rst:43
47
55
msgid ""
48
56
"Create a memoryview object wrapping the given buffer structure *view*. For "
49
57
"simple byte buffers, :c:func:`PyMemoryView_FromMemory` is the preferred "
50
58
"function."
51
59
msgstr ""
52
60
53
- #: ../../c-api/memoryview.rst:38
61
+ #: ../../c-api/memoryview.rst:49
54
62
msgid ""
55
63
"Create a memoryview object to a :term:`contiguous` chunk of memory (in "
56
64
"either 'C' or 'F'ortran *order*) from an object that defines the buffer "
@@ -59,21 +67,26 @@ msgid ""
59
67
"new bytes object."
60
68
msgstr ""
61
69
62
- #: ../../c-api/memoryview.rst:47
70
+ #: ../../c-api/memoryview.rst:55
71
+ msgid ""
72
+ "*buffertype* can be one of :c:macro:`PyBUF_READ` or :c:macro:`PyBUF_WRITE`."
73
+ msgstr ""
74
+
75
+ #: ../../c-api/memoryview.rst:60
63
76
msgid ""
64
77
"Return true if the object *obj* is a memoryview object. It is not currently "
65
78
"allowed to create subclasses of :class:`memoryview`. This function always "
66
79
"succeeds."
67
80
msgstr ""
68
81
69
- #: ../../c-api/memoryview.rst:54
82
+ #: ../../c-api/memoryview.rst:67
70
83
msgid ""
71
84
"Return a pointer to the memoryview's private copy of the exporter's buffer. "
72
85
"*mview* **must** be a memoryview instance; this macro doesn't check its "
73
86
"type, you must do it yourself or you will risk crashes."
74
87
msgstr ""
75
88
76
- #: ../../c-api/memoryview.rst:60
89
+ #: ../../c-api/memoryview.rst:73
77
90
msgid ""
78
91
"Return either a pointer to the exporting object that the memoryview is based "
79
92
"on or ``NULL`` if the memoryview has been created by one of the functions :c:"
0 commit comments