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

Skip to content

Commit 96d7677

Browse files
committed
[po] auto sync bot
1 parent 05cb819 commit 96d7677

4 files changed

Lines changed: 3307 additions & 3272 deletions

File tree

c-api/capsule.po

Lines changed: 30 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.6\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2018-01-05 15:01+0000\n"
11+
"POT-Creation-Date: 2018-05-19 13:27+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"
@@ -26,7 +26,7 @@ msgid ""
2626
"Refer to :ref:`using-capsules` for more information on using these objects."
2727
msgstr ""
2828

29-
#: ../../c-api/capsule.rst:15
29+
#: ../../c-api/capsule.rst:17
3030
msgid ""
3131
"This subtype of :c:type:`PyObject` represents an opaque value, useful for C "
3232
"extension modules who need to pass an opaque value (as a :c:type:`void\\*` "
@@ -36,104 +36,104 @@ msgid ""
3636
" loaded modules."
3737
msgstr ""
3838

39-
#: ../../c-api/capsule.rst:24
39+
#: ../../c-api/capsule.rst:27
4040
msgid "The type of a destructor callback for a capsule. Defined as::"
4141
msgstr ""
4242

43-
#: ../../c-api/capsule.rst:28
43+
#: ../../c-api/capsule.rst:31
4444
msgid ""
4545
"See :c:func:`PyCapsule_New` for the semantics of PyCapsule_Destructor "
4646
"callbacks."
4747
msgstr ""
4848

49-
#: ../../c-api/capsule.rst:34
49+
#: ../../c-api/capsule.rst:37
5050
msgid "Return true if its argument is a :c:type:`PyCapsule`."
5151
msgstr ""
5252

53-
#: ../../c-api/capsule.rst:39
53+
#: ../../c-api/capsule.rst:42
5454
msgid ""
5555
"Create a :c:type:`PyCapsule` encapsulating the *pointer*. The *pointer* "
5656
"argument may not be *NULL*."
5757
msgstr ""
5858

59-
#: ../../c-api/capsule.rst:42
59+
#: ../../c-api/capsule.rst:45
6060
msgid "On failure, set an exception and return *NULL*."
6161
msgstr ""
6262

63-
#: ../../c-api/capsule.rst:44
63+
#: ../../c-api/capsule.rst:47
6464
msgid ""
6565
"The *name* string may either be *NULL* or a pointer to a valid C string. If"
6666
" non-*NULL*, this string must outlive the capsule. (Though it is permitted "
6767
"to free it inside the *destructor*.)"
6868
msgstr ""
6969

70-
#: ../../c-api/capsule.rst:48
70+
#: ../../c-api/capsule.rst:51
7171
msgid ""
7272
"If the *destructor* argument is not *NULL*, it will be called with the "
7373
"capsule as its argument when it is destroyed."
7474
msgstr ""
7575

76-
#: ../../c-api/capsule.rst:51
76+
#: ../../c-api/capsule.rst:54
7777
msgid ""
7878
"If this capsule will be stored as an attribute of a module, the *name* "
7979
"should be specified as ``modulename.attributename``. This will enable other"
8080
" modules to import the capsule using :c:func:`PyCapsule_Import`."
8181
msgstr ""
8282

83-
#: ../../c-api/capsule.rst:58
83+
#: ../../c-api/capsule.rst:61
8484
msgid ""
8585
"Retrieve the *pointer* stored in the capsule. On failure, set an exception "
8686
"and return *NULL*."
8787
msgstr ""
8888

89-
#: ../../c-api/capsule.rst:61
89+
#: ../../c-api/capsule.rst:64
9090
msgid ""
9191
"The *name* parameter must compare exactly to the name stored in the capsule."
9292
" If the name stored in the capsule is *NULL*, the *name* passed in must also"
9393
" be *NULL*. Python uses the C function :c:func:`strcmp` to compare capsule "
9494
"names."
9595
msgstr ""
9696

97-
#: ../../c-api/capsule.rst:69
97+
#: ../../c-api/capsule.rst:72
9898
msgid ""
9999
"Return the current destructor stored in the capsule. On failure, set an "
100100
"exception and return *NULL*."
101101
msgstr ""
102102

103-
#: ../../c-api/capsule.rst:72
103+
#: ../../c-api/capsule.rst:75
104104
msgid ""
105105
"It is legal for a capsule to have a *NULL* destructor. This makes a *NULL* "
106106
"return code somewhat ambiguous; use :c:func:`PyCapsule_IsValid` or "
107107
":c:func:`PyErr_Occurred` to disambiguate."
108108
msgstr ""
109109

110-
#: ../../c-api/capsule.rst:79
110+
#: ../../c-api/capsule.rst:82
111111
msgid ""
112112
"Return the current context stored in the capsule. On failure, set an "
113113
"exception and return *NULL*."
114114
msgstr ""
115115

116-
#: ../../c-api/capsule.rst:82
116+
#: ../../c-api/capsule.rst:85
117117
msgid ""
118118
"It is legal for a capsule to have a *NULL* context. This makes a *NULL* "
119119
"return code somewhat ambiguous; use :c:func:`PyCapsule_IsValid` or "
120120
":c:func:`PyErr_Occurred` to disambiguate."
121121
msgstr ""
122122

123-
#: ../../c-api/capsule.rst:89
123+
#: ../../c-api/capsule.rst:92
124124
msgid ""
125125
"Return the current name stored in the capsule. On failure, set an exception"
126126
" and return *NULL*."
127127
msgstr ""
128128

129-
#: ../../c-api/capsule.rst:92
129+
#: ../../c-api/capsule.rst:95
130130
msgid ""
131131
"It is legal for a capsule to have a *NULL* name. This makes a *NULL* return"
132132
" code somewhat ambiguous; use :c:func:`PyCapsule_IsValid` or "
133133
":c:func:`PyErr_Occurred` to disambiguate."
134134
msgstr ""
135135

136-
#: ../../c-api/capsule.rst:99
136+
#: ../../c-api/capsule.rst:102
137137
msgid ""
138138
"Import a pointer to a C object from a capsule attribute in a module. The "
139139
"*name* parameter should specify the full name to the attribute, as in "
@@ -143,14 +143,13 @@ msgid ""
143143
"import the module conventionally (using :c:func:`PyImport_ImportModule`)."
144144
msgstr ""
145145

146-
#: ../../c-api/capsule.rst:106
146+
#: ../../c-api/capsule.rst:109
147147
msgid ""
148148
"Return the capsule's internal *pointer* on success. On failure, set an "
149-
"exception and return *NULL*. However, if :c:func:`PyCapsule_Import` failed "
150-
"to import the module, and *no_block* was true, no exception is set."
149+
"exception and return *NULL*."
151150
msgstr ""
152151

153-
#: ../../c-api/capsule.rst:112
152+
#: ../../c-api/capsule.rst:115
154153
msgid ""
155154
"Determines whether or not *capsule* is a valid capsule. A valid capsule is "
156155
"non-*NULL*, passes :c:func:`PyCapsule_CheckExact`, has a non-*NULL* pointer "
@@ -159,41 +158,41 @@ msgid ""
159158
"compared.)"
160159
msgstr ""
161160

162-
#: ../../c-api/capsule.rst:118
161+
#: ../../c-api/capsule.rst:121
163162
msgid ""
164163
"In other words, if :c:func:`PyCapsule_IsValid` returns a true value, calls "
165164
"to any of the accessors (any function starting with :c:func:`PyCapsule_Get`)"
166165
" are guaranteed to succeed."
167166
msgstr ""
168167

169-
#: ../../c-api/capsule.rst:122
168+
#: ../../c-api/capsule.rst:125
170169
msgid ""
171170
"Return a nonzero value if the object is valid and matches the name passed "
172171
"in. Return ``0`` otherwise. This function will not fail."
173172
msgstr ""
174173

175-
#: ../../c-api/capsule.rst:127
174+
#: ../../c-api/capsule.rst:131
176175
msgid "Set the context pointer inside *capsule* to *context*."
177176
msgstr ""
178177

179-
#: ../../c-api/capsule.rst:129 ../../c-api/capsule.rst:135
180-
#: ../../c-api/capsule.rst:143 ../../c-api/capsule.rst:150
178+
#: ../../c-api/capsule.rst:133 ../../c-api/capsule.rst:140
179+
#: ../../c-api/capsule.rst:149 ../../c-api/capsule.rst:157
181180
msgid ""
182181
"Return ``0`` on success. Return nonzero and set an exception on failure."
183182
msgstr ""
184183

185-
#: ../../c-api/capsule.rst:133
184+
#: ../../c-api/capsule.rst:138
186185
msgid "Set the destructor inside *capsule* to *destructor*."
187186
msgstr ""
188187

189-
#: ../../c-api/capsule.rst:139
188+
#: ../../c-api/capsule.rst:145
190189
msgid ""
191190
"Set the name inside *capsule* to *name*. If non-*NULL*, the name must "
192191
"outlive the capsule. If the previous *name* stored in the capsule was not "
193192
"*NULL*, no attempt is made to free it."
194193
msgstr ""
195194

196-
#: ../../c-api/capsule.rst:147
195+
#: ../../c-api/capsule.rst:154
197196
msgid ""
198197
"Set the void pointer inside *capsule* to *pointer*. The pointer may not be "
199198
"*NULL*."

0 commit comments

Comments
 (0)