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

Skip to content

Commit 5032225

Browse files
committed
[po] auto sync bot
1 parent acda35d commit 5032225

9 files changed

Lines changed: 4130 additions & 4028 deletions

File tree

c-api/buffer.po

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.7\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2018-12-06 09:58+0900\n"
15+
"POT-Creation-Date: 2018-12-19 10:06+0900\n"
1616
"PO-Revision-Date: 2017-02-16 17:33+0000\n"
1717
"Last-Translator: Freesand Leo <[email protected]>, 2018\n"
1818
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -592,7 +592,7 @@ msgstr ""
592592
msgid ""
593593
"Return ``1`` if *obj* supports the buffer interface otherwise ``0``. When "
594594
"``1`` is returned, it doesn't guarantee that :c:func:`PyObject_GetBuffer` "
595-
"will succeed."
595+
"will succeed. This function always succeeds."
596596
msgstr ""
597597

598598
#: ../../c-api/buffer.rst:437
@@ -643,7 +643,8 @@ msgstr ""
643643
msgid ""
644644
"Return ``1`` if the memory defined by the *view* is C-style (*order* is "
645645
"``'C'``) or Fortran-style (*order* is ``'F'``) :term:`contiguous` or either "
646-
"one (*order* is ``'A'``). Return ``0`` otherwise."
646+
"one (*order* is ``'A'``). Return ``0`` otherwise. This function always "
647+
"succeeds."
647648
msgstr ""
648649

649650
#: ../../c-api/buffer.rst:478

c-api/codec.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ 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"
12-
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
11+
"POT-Creation-Date: 2018-12-19 10:06+0900\n"
12+
"PO-Revision-Date: 2017-02-16 17:34+0000\n"
1313
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1414
"MIME-Version: 1.0\n"
1515
"Content-Type: text/plain; charset=UTF-8\n"
@@ -34,7 +34,7 @@ msgstr ""
3434
#: ../../c-api/codec.rst:15
3535
msgid ""
3636
"Return ``1`` or ``0`` depending on whether there is a registered codec for "
37-
"the given *encoding*."
37+
"the given *encoding*. This function always succeeds."
3838
msgstr ""
3939

4040
#: ../../c-api/codec.rst:20

c-api/dict.po

Lines changed: 35 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,17 @@
33
# This file is distributed under the same license as the Python package.
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
6+
# Translators:
7+
# ww song <[email protected]>, 2018
8+
# SKY H. <[email protected]>, 2018
9+
#
610
#, fuzzy
711
msgid ""
812
msgstr ""
913
"Project-Id-Version: Python 3.7\n"
1014
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2018-06-30 05:56+0900\n"
12-
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
15+
"POT-Creation-Date: 2018-12-19 10:06+0900\n"
16+
"PO-Revision-Date: 2017-02-16 17:35+0000\n"
1317
"Last-Translator: SKY H. <[email protected]>, 2018\n"
1418
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1519
"MIME-Version: 1.0\n"
@@ -116,20 +120,35 @@ msgid ""
116120
msgstr ""
117121
"返回字典 *p* 中 *key* 作为键的对象。如果键 *key* 不存在则返回 *NULL* ,但可以使用 *without* 设置例外。"
118122

119-
#: ../../c-api/dict.rst:101
123+
#: ../../c-api/dict.rst:98
124+
msgid ""
125+
"Note that exceptions which occur while calling :meth:`__hash__` and "
126+
":meth:`__eq__` methods will get suppressed. To get error reporting use "
127+
":c:func:`PyDict_GetItemWithError()` instead."
128+
msgstr ""
129+
130+
#: ../../c-api/dict.rst:105
120131
msgid ""
121132
"Variant of :c:func:`PyDict_GetItem` that does not suppress exceptions. "
122133
"Return *NULL* **with** an exception set if an exception occurred. Return "
123134
"*NULL* **without** an exception set if the key wasn't present."
124135
msgstr ""
125136

126-
#: ../../c-api/dict.rst:109
137+
#: ../../c-api/dict.rst:113
127138
msgid ""
128139
"This is the same as :c:func:`PyDict_GetItem`, but *key* is specified as a "
129140
":c:type:`const char\\*`, rather than a :c:type:`PyObject\\*`."
130141
msgstr ""
131142

132-
#: ../../c-api/dict.rst:115
143+
#: ../../c-api/dict.rst:116
144+
msgid ""
145+
"Note that exceptions which occur while calling :meth:`__hash__` and "
146+
":meth:`__eq__` methods and creating a temporary string object will get "
147+
"suppressed. To get error reporting use :c:func:`PyDict_GetItemWithError()` "
148+
"instead."
149+
msgstr ""
150+
151+
#: ../../c-api/dict.rst:124
133152
msgid ""
134153
"This is the same as the Python-level :meth:`dict.setdefault`. If present, "
135154
"it returns the value corresponding to *key* from the dictionary *p*. If the"
@@ -139,30 +158,30 @@ msgid ""
139158
"the insertion."
140159
msgstr ""
141160

142-
#: ../../c-api/dict.rst:125
161+
#: ../../c-api/dict.rst:134
143162
msgid ""
144163
"Return a :c:type:`PyListObject` containing all the items from the "
145164
"dictionary."
146165
msgstr ""
147166

148-
#: ../../c-api/dict.rst:130
167+
#: ../../c-api/dict.rst:139
149168
msgid ""
150169
"Return a :c:type:`PyListObject` containing all the keys from the dictionary."
151170
msgstr ""
152171

153-
#: ../../c-api/dict.rst:135
172+
#: ../../c-api/dict.rst:144
154173
msgid ""
155174
"Return a :c:type:`PyListObject` containing all the values from the "
156175
"dictionary *p*."
157176
msgstr ""
158177

159-
#: ../../c-api/dict.rst:143
178+
#: ../../c-api/dict.rst:152
160179
msgid ""
161180
"Return the number of items in the dictionary. This is equivalent to "
162181
"``len(p)`` on a dictionary."
163182
msgstr ""
164183

165-
#: ../../c-api/dict.rst:149
184+
#: ../../c-api/dict.rst:158
166185
msgid ""
167186
"Iterate over all key-value pairs in the dictionary *p*. The "
168187
":c:type:`Py_ssize_t` referred to by *ppos* must be initialized to ``0`` "
@@ -176,18 +195,18 @@ msgid ""
176195
"since the structure is sparse, the offsets are not consecutive."
177196
msgstr ""
178197

179-
#: ../../c-api/dict.rst:160
198+
#: ../../c-api/dict.rst:169
180199
msgid "For example::"
181200
msgstr "例如::"
182201

183-
#: ../../c-api/dict.rst:170
202+
#: ../../c-api/dict.rst:179
184203
msgid ""
185204
"The dictionary *p* should not be mutated during iteration. It is safe to "
186205
"modify the values of the keys as you iterate over the dictionary, but only "
187206
"so long as the set of keys does not change. For example::"
188207
msgstr ""
189208

190-
#: ../../c-api/dict.rst:195
209+
#: ../../c-api/dict.rst:204
191210
msgid ""
192211
"Iterate over mapping object *b* adding key-value pairs to dictionary *a*. "
193212
"*b* may be a dictionary, or any object supporting :c:func:`PyMapping_Keys` "
@@ -197,7 +216,7 @@ msgid ""
197216
" or ``-1`` if an exception was raised."
198217
msgstr ""
199218

200-
#: ../../c-api/dict.rst:205
219+
#: ../../c-api/dict.rst:214
201220
msgid ""
202221
"This is the same as ``PyDict_Merge(a, b, 1)`` in C, and is similar to "
203222
"``a.update(b)`` in Python except that :c:func:`PyDict_Update` doesn't fall "
@@ -206,7 +225,7 @@ msgid ""
206225
" exception was raised."
207226
msgstr ""
208227

209-
#: ../../c-api/dict.rst:214
228+
#: ../../c-api/dict.rst:223
210229
msgid ""
211230
"Update or merge into dictionary *a*, from the key-value pairs in *seq2*. "
212231
"*seq2* must be an iterable object producing iterable objects of length 2, "
@@ -216,6 +235,6 @@ msgid ""
216235
"value)::"
217236
msgstr ""
218237

219-
#: ../../c-api/dict.rst:229
238+
#: ../../c-api/dict.rst:238
220239
msgid "Clear the free list. Return the total number of freed items."
221240
msgstr ""

c-api/mapping.po

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ 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"
12-
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
11+
"POT-Creation-Date: 2018-12-19 10:06+0900\n"
12+
"PO-Revision-Date: 2017-02-16 17:37+0000\n"
1313
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1414
"MIME-Version: 1.0\n"
1515
"Content-Type: text/plain; charset=UTF-8\n"
@@ -68,31 +68,45 @@ msgid ""
6868
"on failure. This is equivalent to the Python statement ``del o[key]``."
6969
msgstr ""
7070

71-
#: ../../c-api/mapping.rst:59 ../../c-api/mapping.rst:66
71+
#: ../../c-api/mapping.rst:59 ../../c-api/mapping.rst:70
7272
msgid ""
7373
"Return ``1`` if the mapping object has the key *key* and ``0`` otherwise. "
7474
"This is equivalent to the Python expression ``key in o``. This function "
7575
"always succeeds."
7676
msgstr ""
7777

78-
#: ../../c-api/mapping.rst:73
78+
#: ../../c-api/mapping.rst:63
79+
msgid ""
80+
"Note that exceptions which occur while calling the :meth:`__getitem__` "
81+
"method will get suppressed. To get error reporting use "
82+
":c:func:`PyObject_GetItem()` instead."
83+
msgstr ""
84+
85+
#: ../../c-api/mapping.rst:74
86+
msgid ""
87+
"Note that exceptions which occur while calling the :meth:`__getitem__` "
88+
"method and creating a temporary string object will get suppressed. To get "
89+
"error reporting use :c:func:`PyMapping_GetItemString()` instead."
90+
msgstr ""
91+
92+
#: ../../c-api/mapping.rst:81
7993
msgid ""
8094
"On success, return a list of the keys in object *o*. On failure, return "
8195
"*NULL*."
8296
msgstr ""
8397

84-
#: ../../c-api/mapping.rst:76 ../../c-api/mapping.rst:85
85-
#: ../../c-api/mapping.rst:94
98+
#: ../../c-api/mapping.rst:84 ../../c-api/mapping.rst:93
99+
#: ../../c-api/mapping.rst:102
86100
msgid "Previously, the function returned a list or a tuple."
87101
msgstr ""
88102

89-
#: ../../c-api/mapping.rst:82
103+
#: ../../c-api/mapping.rst:90
90104
msgid ""
91105
"On success, return a list of the values in object *o*. On failure, return "
92106
"*NULL*."
93107
msgstr ""
94108

95-
#: ../../c-api/mapping.rst:91
109+
#: ../../c-api/mapping.rst:99
96110
msgid ""
97111
"On success, return a list of the items in object *o*, where each item is a "
98112
"tuple containing a key-value pair. On failure, return *NULL*."

c-api/number.po

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ 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"
12-
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
11+
"POT-Creation-Date: 2018-12-19 10:06+0900\n"
12+
"PO-Revision-Date: 2017-02-16 17:37+0000\n"
1313
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1414
"MIME-Version: 1.0\n"
1515
"Content-Type: text/plain; charset=UTF-8\n"
@@ -283,5 +283,6 @@ msgstr ""
283283
#: ../../c-api/number.rst:281
284284
msgid ""
285285
"Returns ``1`` if *o* is an index integer (has the nb_index slot of the "
286-
"tp_as_number structure filled in), and ``0`` otherwise."
286+
"tp_as_number structure filled in), and ``0`` otherwise. This function always"
287+
" succeeds."
287288
msgstr ""

c-api/objbuffer.po

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ 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"
12-
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
11+
"POT-Creation-Date: 2018-12-19 10:06+0900\n"
12+
"PO-Revision-Date: 2017-02-16 17:38+0000\n"
1313
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1414
"MIME-Version: 1.0\n"
1515
"Content-Type: text/plain; charset=UTF-8\n"
@@ -61,10 +61,17 @@ msgstr ""
6161
#: ../../c-api/objbuffer.rst:41
6262
msgid ""
6363
"Returns ``1`` if *o* supports the single-segment readable buffer interface. "
64-
"Otherwise returns ``0``."
64+
"Otherwise returns ``0``. This function always succeeds."
6565
msgstr ""
6666

67-
#: ../../c-api/objbuffer.rst:47
67+
#: ../../c-api/objbuffer.rst:44
68+
msgid ""
69+
"Note that this function tries to get and release a buffer, and exceptions "
70+
"which occur while calling correspoding functions will get suppressed. To get"
71+
" error reporting use :c:func:`PyObject_GetBuffer()` instead."
72+
msgstr ""
73+
74+
#: ../../c-api/objbuffer.rst:51
6875
msgid ""
6976
"Returns a pointer to a writable memory location. The *obj* argument must "
7077
"support the single-segment, character buffer interface. On success, returns"

0 commit comments

Comments
 (0)