Skip to content

Commit 0c7f22a

Browse files
sync with cpython eead7b43
1 parent 2138677 commit 0c7f22a

File tree

3 files changed

+373
-176
lines changed

3 files changed

+373
-176
lines changed

c-api/concrete.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.14\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2025-11-09 17:02+0000\n"
10+
"POT-Creation-Date: 2025-11-17 00:14+0000\n"
1111
"PO-Revision-Date: 2022-11-13 20:37+0800\n"
1212
"Last-Translator: Matt Wang <[email protected]>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -86,7 +86,7 @@ msgstr "函式物件"
8686
msgid "Other Objects"
8787
msgstr "其他物件"
8888

89-
#: ../../c-api/concrete.rst:122
89+
#: ../../c-api/concrete.rst:123
9090
msgid "C API for extension modules"
9191
msgstr "擴充模組的 C API"
9292

c-api/picklebuffer.po

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) 2001 Python Software Foundation
3+
# This file is distributed under the same license as the Python package.
4+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5+
#
6+
#, fuzzy
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: Python 3.14\n"
10+
"Report-Msgid-Bugs-To: \n"
11+
"POT-Creation-Date: 2025-11-17 00:14+0000\n"
12+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14+
"Language-Team: LANGUAGE <[email protected]>\n"
15+
"Language: zh_TW\n"
16+
"MIME-Version: 1.0\n"
17+
"Content-Type: text/plain; charset=UTF-8\n"
18+
"Content-Transfer-Encoding: 8bit\n"
19+
20+
#: ../../c-api/picklebuffer.rst:9
21+
msgid "Pickle buffer objects"
22+
msgstr ""
23+
24+
#: ../../c-api/picklebuffer.rst:13
25+
msgid ""
26+
"A :class:`pickle.PickleBuffer` object wraps a :ref:`buffer-providing object "
27+
"<bufferobjects>` for out-of-band data transfer with the :mod:`pickle` module."
28+
msgstr ""
29+
30+
#: ../../c-api/picklebuffer.rst:19
31+
msgid ""
32+
"This instance of :c:type:`PyTypeObject` represents the Python pickle buffer "
33+
"type. This is the same object as :class:`pickle.PickleBuffer` in the Python "
34+
"layer."
35+
msgstr ""
36+
37+
#: ../../c-api/picklebuffer.rst:25
38+
msgid ""
39+
"Return true if *op* is a pickle buffer instance. This function always "
40+
"succeeds."
41+
msgstr ""
42+
43+
#: ../../c-api/picklebuffer.rst:31
44+
msgid "Create a pickle buffer from the object *obj*."
45+
msgstr ""
46+
47+
#: ../../c-api/picklebuffer.rst:33
48+
msgid ""
49+
"This function will fail if *obj* doesn't support the :ref:`buffer protocol "
50+
"<bufferobjects>`."
51+
msgstr ""
52+
53+
#: ../../c-api/picklebuffer.rst:35
54+
msgid ""
55+
"On success, return a new pickle buffer instance. On failure, set an "
56+
"exception and return ``NULL``."
57+
msgstr ""
58+
59+
#: ../../c-api/picklebuffer.rst:38
60+
msgid "Analogous to calling :class:`pickle.PickleBuffer` with *obj* in Python."
61+
msgstr ""
62+
63+
#: ../../c-api/picklebuffer.rst:43
64+
msgid ""
65+
"Get a pointer to the underlying :c:type:`Py_buffer` that the pickle buffer "
66+
"wraps."
67+
msgstr ""
68+
69+
#: ../../c-api/picklebuffer.rst:45
70+
msgid ""
71+
"The returned pointer is valid as long as *picklebuf* is alive and has not "
72+
"been released. The caller must not modify or free the returned :c:type:"
73+
"`Py_buffer`. If the pickle buffer has been released, raise :exc:`ValueError`."
74+
msgstr ""
75+
76+
#: ../../c-api/picklebuffer.rst:49
77+
msgid ""
78+
"On success, return a pointer to the buffer view. On failure, set an "
79+
"exception and return ``NULL``."
80+
msgstr ""
81+
82+
#: ../../c-api/picklebuffer.rst:55
83+
msgid "Release the underlying buffer held by the pickle buffer."
84+
msgstr ""
85+
86+
#: ../../c-api/picklebuffer.rst:57
87+
msgid ""
88+
"Return ``0`` on success. On failure, set an exception and return ``-1``."
89+
msgstr ""
90+
91+
#: ../../c-api/picklebuffer.rst:59
92+
msgid "Analogous to calling :meth:`pickle.PickleBuffer.release` in Python."
93+
msgstr ""
94+
95+
#: ../../c-api/picklebuffer.rst:5
96+
msgid "object"
97+
msgstr ""
98+
99+
#: ../../c-api/picklebuffer.rst:5
100+
msgid "PickleBuffer"
101+
msgstr ""

0 commit comments

Comments
 (0)