Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 49dd6a4

Browse files
committed
[po] auto sync bot
1 parent de91043 commit 49dd6a4

2 files changed

Lines changed: 3145 additions & 3158 deletions

File tree

c-api/marshal.po

Lines changed: 14 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
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 ""
6565
msgid "The following functions allow marshalled values to be read back in."
6666
msgstr ""
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
7869
msgid ""
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`."
8273
msgstr ""
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``."
8679
msgstr ""
8780

88-
#: ../../c-api/marshal.rst:61
81+
#: ../../c-api/marshal.rst:56
8982
msgid ""
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`."
9386
msgstr ""
9487

95-
#: ../../c-api/marshal.rst:70
88+
#: ../../c-api/marshal.rst:66
9689
msgid ""
9790
"Return a Python object from the data stream in a :c:type:`FILE\\*` opened "
9891
"for reading."
9992
msgstr ""
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
10396
msgid ""
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*."
10699
msgstr ""
107100

108-
#: ../../c-api/marshal.rst:79
101+
#: ../../c-api/marshal.rst:75
109102
msgid ""
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."
117110
msgstr ""
118111

119-
#: ../../c-api/marshal.rst:93
112+
#: ../../c-api/marshal.rst:89
120113
msgid ""
121114
"Return a Python object from the data stream in a byte buffer containing "
122115
"*len* bytes pointed to by *data*."

0 commit comments

Comments
 (0)