88msgstr ""
99"Project-Id-Version : Python 3.7\n "
1010"Report-Msgid-Bugs-To : \n "
11- "POT-Creation-Date : 2018-06-30 05:56 +0900\n "
11+ "POT-Creation-Date : 2018-07-28 08:41 +0900\n "
1212"PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
1313"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
1414"MIME-Version : 1.0\n "
@@ -65,47 +65,40 @@ msgstr ""
6565msgid "The following functions allow marshalled values to be read back in."
6666msgstr ""
6767
68- #: ../../c-api/marshal.rst:43
69- msgid ""
70- "XXX What about error detection? It appears that reading past the end of the"
71- " file will always result in a negative numeric value (where that's "
72- "relevant), but it's not clear that negative values won't be handled properly"
73- " when there's no error. What's the right way to tell? Should only non-"
74- "negative values be written using these routines?"
75- msgstr ""
76-
77- #: ../../c-api/marshal.rst:52
68+ #: ../../c-api/marshal.rst:46
7869msgid ""
7970"Return a C :c:type:`long` from the data stream in a :c:type:`FILE\\ *` opened"
8071" for reading. Only a 32-bit value can be read in using this function, "
8172"regardless of the native size of :c:type:`long`."
8273msgstr ""
8374
84- #: ../../c-api/marshal.rst:56 ../../c-api/marshal.rst:65
85- msgid "On error, raise an exception and return ``-1``."
75+ #: ../../c-api/marshal.rst:50 ../../c-api/marshal.rst:60
76+ msgid ""
77+ "On error, sets the appropriate exception (:exc:`EOFError`) and returns "
78+ "``-1``."
8679msgstr ""
8780
88- #: ../../c-api/marshal.rst:61
81+ #: ../../c-api/marshal.rst:56
8982msgid ""
9083"Return a C :c:type:`short` from the data stream in a :c:type:`FILE\\ *` "
9184"opened for reading. Only a 16-bit value can be read in using this function,"
9285" regardless of the native size of :c:type:`short`."
9386msgstr ""
9487
95- #: ../../c-api/marshal.rst:70
88+ #: ../../c-api/marshal.rst:66
9689msgid ""
9790"Return a Python object from the data stream in a :c:type:`FILE\\ *` opened "
9891"for reading."
9992msgstr ""
10093
101- #: ../../c-api/marshal.rst:73 ../../c-api/marshal.rst:87
102- #: ../../c-api/marshal.rst:96
94+ #: ../../c-api/marshal.rst:69 ../../c-api/marshal.rst:83
95+ #: ../../c-api/marshal.rst:92
10396msgid ""
104- "On error, sets the appropriate exception (:exc:`EOFError` or "
105- ":exc:`TypeError`) and returns *NULL*."
97+ "On error, sets the appropriate exception (:exc:`EOFError`, :exc:`ValueError` "
98+ " or :exc:`TypeError`) and returns *NULL*."
10699msgstr ""
107100
108- #: ../../c-api/marshal.rst:79
101+ #: ../../c-api/marshal.rst:75
109102msgid ""
110103"Return a Python object from the data stream in a :c:type:`FILE\\ *` opened "
111104"for reading. Unlike :c:func:`PyMarshal_ReadObjectFromFile`, this function "
@@ -116,7 +109,7 @@ msgid ""
116109"anything else from the file."
117110msgstr ""
118111
119- #: ../../c-api/marshal.rst:93
112+ #: ../../c-api/marshal.rst:89
120113msgid ""
121114"Return a Python object from the data stream in a byte buffer containing "
122115"*len* bytes pointed to by *data*."
0 commit comments