Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb62b581

Browse files
sync with cpython 84efcecf
1 parent63bc20a commitb62b581

File tree

3 files changed

+99
-74
lines changed

3 files changed

+99
-74
lines changed

‎c-api/tuple.po

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version:Python 3.13\n"
1010
"Report-Msgid-Bugs-To:\n"
11-
"POT-Creation-Date:2024-09-23 07:52+0800\n"
11+
"POT-Creation-Date:2024-10-08 00:13+0000\n"
1212
"PO-Revision-Date:2017-09-22 18:26+0000\n"
1313
"Last-Translator:Leon H.\n"
1414
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -119,8 +119,8 @@ msgid ""
119119
"*only* be used to fill in brand new tuples."
120120
msgstr""
121121

122-
#:../../c-api/tuple.rst:102../../c-api/tuple.rst:217
123-
#:../../c-api/tuple.rst:235
122+
#:../../c-api/tuple.rst:102../../c-api/tuple.rst:218
123+
#:../../c-api/tuple.rst:236
124124
msgid""
125125
"Bounds checking is performed as an assertion if Python is built in :ref:"
126126
"`debug mode <debug-build>` or :option:`with assertions <--with-assertions>`."
@@ -167,7 +167,7 @@ msgid ""
167167
"`PyStructSequence_New`."
168168
msgstr""
169169

170-
#:../../c-api/tuple.rst:142../../c-api/tuple.rst:210
170+
#:../../c-api/tuple.rst:142../../c-api/tuple.rst:211
171171
msgid"Return ``NULL`` with an exception set on failure."
172172
msgstr""
173173

@@ -186,22 +186,24 @@ msgid "Contains the meta information of a struct sequence type to create."
186186
msgstr""
187187

188188
#:../../c-api/tuple.rst:164
189-
msgid"Name of the struct sequence type."
189+
msgid""
190+
"Fully qualified name of the type; null-terminated UTF-8 encoded. The name "
191+
"must contain the module name."
190192
msgstr""
191193

192-
#:../../c-api/tuple.rst:168
194+
#:../../c-api/tuple.rst:169
193195
msgid"Pointer to docstring for the type or ``NULL`` to omit."
194196
msgstr""
195197

196-
#:../../c-api/tuple.rst:172
198+
#:../../c-api/tuple.rst:173
197199
msgid"Pointer to ``NULL``-terminated array with field names of the new type."
198200
msgstr""
199201

200-
#:../../c-api/tuple.rst:176
202+
#:../../c-api/tuple.rst:177
201203
msgid"Number of fields visible to the Python side (if used as tuple)."
202204
msgstr""
203205

204-
#:../../c-api/tuple.rst:181
206+
#:../../c-api/tuple.rst:182
205207
msgid""
206208
"Describes a field of a struct sequence. As a struct sequence is modeled as a "
207209
"tuple, all fields are typed as :c:expr:`PyObject*`. The index in the :c:"
@@ -210,59 +212,59 @@ msgid ""
210212
"described."
211213
msgstr""
212214

213-
#:../../c-api/tuple.rst:189
215+
#:../../c-api/tuple.rst:190
214216
msgid""
215217
"Name for the field or ``NULL`` to end the list of named fields, set to :c:"
216218
"data:`PyStructSequence_UnnamedField` to leave unnamed."
217219
msgstr""
218220

219-
#:../../c-api/tuple.rst:194
221+
#:../../c-api/tuple.rst:195
220222
msgid"Field docstring or ``NULL`` to omit."
221223
msgstr""
222224

223-
#:../../c-api/tuple.rst:199
225+
#:../../c-api/tuple.rst:200
224226
msgid"Special value for a field name to leave it unnamed."
225227
msgstr""
226228

227-
#:../../c-api/tuple.rst:201
229+
#:../../c-api/tuple.rst:202
228230
msgid"The type was changed from ``char *``."
229231
msgstr""
230232

231-
#:../../c-api/tuple.rst:207
233+
#:../../c-api/tuple.rst:208
232234
msgid""
233235
"Creates an instance of *type*, which must have been created with :c:func:"
234236
"`PyStructSequence_NewType`."
235237
msgstr""
236238

237-
#:../../c-api/tuple.rst:215
239+
#:../../c-api/tuple.rst:216
238240
msgid""
239241
"Return the object at position *pos* in the struct sequence pointed to by *p*."
240242
msgstr""
241243

242-
#:../../c-api/tuple.rst:223
244+
#:../../c-api/tuple.rst:224
243245
msgid"Alias to :c:func:`PyStructSequence_GetItem`."
244246
msgstr""
245247

246-
#:../../c-api/tuple.rst:225
248+
#:../../c-api/tuple.rst:226
247249
msgid"Now implemented as an alias to :c:func:`PyStructSequence_GetItem`."
248250
msgstr""
249251

250-
#:../../c-api/tuple.rst:231
252+
#:../../c-api/tuple.rst:232
251253
msgid""
252254
"Sets the field at index *pos* of the struct sequence *p* to value *o*. "
253255
"Like :c:func:`PyTuple_SET_ITEM`, this should only be used to fill in brand "
254256
"new instances."
255257
msgstr""
256258

257-
#:../../c-api/tuple.rst:240
259+
#:../../c-api/tuple.rst:241
258260
msgid"This function\"steals\" a reference to *o*."
259261
msgstr""
260262

261-
#:../../c-api/tuple.rst:245
263+
#:../../c-api/tuple.rst:246
262264
msgid"Alias to :c:func:`PyStructSequence_SetItem`."
263265
msgstr""
264266

265-
#:../../c-api/tuple.rst:247
267+
#:../../c-api/tuple.rst:248
266268
msgid"Now implemented as an alias to :c:func:`PyStructSequence_SetItem`."
267269
msgstr""
268270

‎library/argparse.po

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version:Python 3.13\n"
99
"Report-Msgid-Bugs-To:\n"
10-
"POT-Creation-Date:2024-09-24 23:08+0000\n"
10+
"POT-Creation-Date:2024-10-08 00:13+0000\n"
1111
"PO-Revision-Date:2018-05-23 14:38+0000\n"
1212
"Last-Translator:Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -3169,7 +3169,8 @@ msgid ""
31693169
">>>\n"
31703170
">>> # create the parser for the\"b\" command\n"
31713171
">>> parser_b = subparsers.add_parser('b', help='b help')\n"
3172-
">>> parser_b.add_argument('--baz', choices='XYZ', help='baz help')\n"
3172+
">>> parser_b.add_argument('--baz', choices=('X', 'Y', 'Z'), help='baz "
3173+
"help')\n"
31733174
">>>\n"
31743175
">>> # parse some argument lists\n"
31753176
">>> parser.parse_args(['a', '12'])\n"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp