7
7
msgstr ""
8
8
"Project-Id-Version : Python 3.11\n "
9
9
"Report-Msgid-Bugs-To : \n "
10
- "POT-Creation-Date : 2022-10-06 00:23 +0000\n "
10
+ "POT-Creation-Date : 2023-06-03 00:33 +0000\n "
11
11
"PO-Revision-Date : 2018-05-23 14:06+0000\n "
12
12
"
Last-Translator :
Adrian Liaw <[email protected] >\n "
13
13
"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -50,56 +50,62 @@ msgid ""
50
50
"native :c:expr:`long` type. *version* indicates the file format."
51
51
msgstr ""
52
52
53
- #: ../../c-api/marshal.rst:31
53
+ #: ../../c-api/marshal.rst:28 ../../c-api/marshal.rst:36
54
+ msgid ""
55
+ "This function can fail, in which case it sets the error indicator. Use :c:"
56
+ "func:`PyErr_Occurred` to check for that."
57
+ msgstr ""
58
+
59
+ #: ../../c-api/marshal.rst:33
54
60
msgid ""
55
61
"Marshal a Python object, *value*, to *file*. *version* indicates the file "
56
62
"format."
57
63
msgstr ""
58
64
59
- #: ../../c-api/marshal.rst:37
65
+ #: ../../c-api/marshal.rst:41
60
66
msgid ""
61
67
"Return a bytes object containing the marshalled representation of *value*. "
62
68
"*version* indicates the file format."
63
69
msgstr ""
64
70
65
- #: ../../c-api/marshal.rst:41
71
+ #: ../../c-api/marshal.rst:45
66
72
msgid "The following functions allow marshalled values to be read back in."
67
73
msgstr ""
68
74
69
- #: ../../c-api/marshal.rst:46
75
+ #: ../../c-api/marshal.rst:50
70
76
msgid ""
71
77
"Return a C :c:expr:`long` from the data stream in a :c:expr:`FILE*` opened "
72
78
"for reading. Only a 32-bit value can be read in using this function, "
73
79
"regardless of the native size of :c:expr:`long`."
74
80
msgstr ""
75
81
76
- #: ../../c-api/marshal.rst:50 ../../c-api/marshal.rst:60
82
+ #: ../../c-api/marshal.rst:54 ../../c-api/marshal.rst:64
77
83
msgid ""
78
84
"On error, sets the appropriate exception (:exc:`EOFError`) and returns "
79
85
"``-1``."
80
86
msgstr ""
81
87
82
- #: ../../c-api/marshal.rst:56
88
+ #: ../../c-api/marshal.rst:60
83
89
msgid ""
84
90
"Return a C :c:expr:`short` from the data stream in a :c:expr:`FILE*` opened "
85
91
"for reading. Only a 16-bit value can be read in using this function, "
86
92
"regardless of the native size of :c:expr:`short`."
87
93
msgstr ""
88
94
89
- #: ../../c-api/marshal.rst:66
95
+ #: ../../c-api/marshal.rst:70
90
96
msgid ""
91
97
"Return a Python object from the data stream in a :c:expr:`FILE*` opened for "
92
98
"reading."
93
99
msgstr ""
94
100
95
- #: ../../c-api/marshal.rst:69 ../../c-api/marshal.rst:83
96
- #: ../../c-api/marshal.rst:92
101
+ #: ../../c-api/marshal.rst:73 ../../c-api/marshal.rst:87
102
+ #: ../../c-api/marshal.rst:96
97
103
msgid ""
98
104
"On error, sets the appropriate exception (:exc:`EOFError`, :exc:`ValueError` "
99
105
"or :exc:`TypeError`) and returns ``NULL``."
100
106
msgstr ""
101
107
102
- #: ../../c-api/marshal.rst:75
108
+ #: ../../c-api/marshal.rst:79
103
109
msgid ""
104
110
"Return a Python object from the data stream in a :c:expr:`FILE*` opened for "
105
111
"reading. Unlike :c:func:`PyMarshal_ReadObjectFromFile`, this function "
@@ -110,7 +116,7 @@ msgid ""
110
116
"anything else from the file."
111
117
msgstr ""
112
118
113
- #: ../../c-api/marshal.rst:89
119
+ #: ../../c-api/marshal.rst:93
114
120
msgid ""
115
121
"Return a Python object from the data stream in a byte buffer containing "
116
122
"*len* bytes pointed to by *data*."
0 commit comments