Repository navigation
Expand file tree
/
Copy pathcall.po
More file actions
676 lines (580 loc) · 29.1 KB
/
Copy pathcall.po
File metadata and controls
676 lines (580 loc) · 29.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001 Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# python-doc bot, 2025
# Inada Naoki <songofacandy@gmail.com>, 2026
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.15\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-10-29 19:20+0000\n"
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
"Last-Translator: Inada Naoki <songofacandy@gmail.com>, 2026\n"
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
"ja/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: ja\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#: ../../c-api/call.rst:6
msgid "Call Protocol"
msgstr "Call プロトコル"
msgid ""
"CPython supports two different calling protocols: *tp_call* and vectorcall."
msgstr ""
"CPython は *tp_call* と vectorcall の二つの呼び出しプロトコルをサポートしてい"
"ます。"
msgid "The *tp_call* Protocol"
msgstr "*tp_call* プロトコル"
msgid ""
"Instances of classes that set :c:member:`~PyTypeObject.tp_call` are "
"callable. The signature of the slot is::"
msgstr ""
":c:member:`~PyTypeObject.tp_call` を設定したクラスのインスタンスは呼び出し可"
"能です。\n"
"このスロットのシグネチャは次のとおりです。 ::"
msgid ""
"PyObject *tp_call(PyObject *callable, PyObject *args, PyObject *kwargs);"
msgstr ""
"PyObject *tp_call(PyObject *callable, PyObject *args, PyObject *kwargs);"
msgid ""
"A call is made using a tuple for the positional arguments and a dict for the "
"keyword arguments, similarly to ``callable(*args, **kwargs)`` in Python "
"code. *args* must be non-NULL (use an empty tuple if there are no arguments) "
"but *kwargs* may be *NULL* if there are no keyword arguments."
msgstr ""
"Python コードの ``callable(*args, **kwargs)`` と同様に、位置引数のタプルと"
"キーワード引数の辞書を使って呼び出します。\n"
"``args`` は NULL であってはいけません (引数がなければ空のタプルを使いま"
"す)。\n"
"ただし、キーワード引数がなければ ``kwargs`` は ``NULL`` で構いません。"
msgid ""
"This convention is not only used by "
"*tp_call*: :c:member:`~PyTypeObject.tp_new` "
"and :c:member:`~PyTypeObject.tp_init` also pass arguments this way."
msgstr ""
"この規約は *tp_call* だけでなく、:c:member:`~PyTypeObject.tp_new` "
"と :c:member:`~PyTypeObject.tp_init` で引数を渡すときにも使います。"
msgid ""
"To call an object, use :c:func:`PyObject_Call` or another :ref:`call API "
"<capi-call>`."
msgstr ""
"オブジェクトを呼び出すには :c:func:`PyObject_Call` または別の :ref:`呼び出し "
"API <capi-call>` を使ってください。"
msgid "The Vectorcall Protocol"
msgstr "vectorcall プロトコル"
msgid ""
"The vectorcall protocol was introduced in :pep:`590` as an additional "
"protocol for making calls more efficient."
msgstr ""
"vectorcall プロトコルは、呼び出しを効率化するための追加のプロトコルとし"
"て :pep:`590` で導入されました。"
msgid ""
"As rule of thumb, CPython will prefer the vectorcall for internal calls if "
"the callable supports it. However, this is not a hard rule. Additionally, "
"some third-party extensions use *tp_call* directly (rather than "
"using :c:func:`PyObject_Call`). Therefore, a class supporting vectorcall "
"must also implement :c:member:`~PyTypeObject.tp_call`. Moreover, the "
"callable must behave the same regardless of which protocol is used. The "
"recommended way to achieve this is by "
"setting :c:member:`~PyTypeObject.tp_call` to :c:func:`PyVectorcall_Call`. "
"This bears repeating:"
msgstr ""
"目安として、呼び出し可能オブジェクトが vectorcall をサポートしていれば、"
"CPython は内部の呼び出しでそれを優先します。\n"
"ただし、厳密な規則ではありません。\n"
"また、サードパーティの拡張の中には :c:func:`PyObject_Call` を使わずに "
"*tp_call* を直接使うものもあります。\n"
"そのため、vectorcall をサポートするクラス"
"は :c:member:`~PyTypeObject.tp_call` も実装する必要があります。\n"
"さらに、どちらのプロトコルでも同じ動作をしなければなりません。\n"
"これを実現するために推奨される方法は、:c:member:`~PyTypeObject.tp_call` "
"を :c:func:`PyVectorcall_Call` に設定することです。\n"
"繰り返しますが、次の点が重要です。"
msgid ""
"A class supporting vectorcall **must** also "
"implement :c:member:`~PyTypeObject.tp_call` with the same semantics."
msgstr ""
"vectorcall をサポートするクラスは、同じ意味を持"
"つ :c:member:`~PyTypeObject.tp_call` も **必ず** 実装しなければなりません。"
msgid ""
"The :c:macro:`Py_TPFLAGS_HAVE_VECTORCALL` flag is now removed from a class "
"when the class's :py:meth:`~object.__call__` method is reassigned. (This "
"internally sets :c:member:`~PyTypeObject.tp_call` only, and thus may make it "
"behave differently than the vectorcall function.) In earlier Python "
"versions, vectorcall should only be used with :c:macro:`immutable "
"<Py_TPFLAGS_IMMUTABLETYPE>` or static types."
msgstr ""
"クラスの :py:meth:`~object.__call__` メソッドが再代入されると、そのクラスか"
"ら :c:macro:`Py_TPFLAGS_HAVE_VECTORCALL` フラグを取り除くようになりました。\n"
"(この再代入は内部で :c:member:`~PyTypeObject.tp_call` だけを設定するため、"
"vectorcall 関数と動作が異なる可能性があります。)\n"
"以前の Python では、vectorcall は :c:macro:`不変な型 "
"<Py_TPFLAGS_IMMUTABLETYPE>` または静的な型でのみ使うべきです。"
msgid ""
"A class should not implement vectorcall if that would be slower than "
"*tp_call*. For example, if the callee needs to convert the arguments to an "
"args tuple and kwargs dict anyway, then there is no point in implementing "
"vectorcall."
msgstr ""
"*tp_call* より遅くなる場合、クラスは vectorcall を実装すべきではありませ"
"ん。\n"
"例えば、呼び出される側が結局引数を args タプルと kwargs 辞書に変換する必要が"
"あるなら、vectorcall を実装する意味はありません。"
msgid ""
"Classes can implement the vectorcall protocol by enabling "
"the :c:macro:`Py_TPFLAGS_HAVE_VECTORCALL` flag and "
"setting :c:member:`~PyTypeObject.tp_vectorcall_offset` to the offset inside "
"the object structure where a *vectorcallfunc* appears. This is a pointer to "
"a function with the following signature:"
msgstr ""
"クラスは :c:macro:`Py_TPFLAGS_HAVE_VECTORCALL` フラグを有効に"
"し、:c:member:`~PyTypeObject.tp_vectorcall_offset` をオブジェクト構造体内の "
"*vectorcallfunc* の位置のオフセットに設定することで、vectorcall プロトコルを"
"実装できます。\n"
"これは次のシグネチャを持つ関数へのポインタです。"
msgid "*callable* is the object being called."
msgstr "``callable`` は呼び出されるオブジェクトです。"
msgid ""
"*args* is a C array consisting of the positional arguments followed by the "
"values of the keyword arguments. This can be *NULL* if there are no "
"arguments."
msgstr ""
"``args`` は、位置引数に続いてキーワード引数の値を格納する C の配列です。\n"
"引数がない場合は ``NULL`` でも構いません。"
msgid ""
"*nargsf* is the number of positional arguments plus possibly "
"the :c:macro:`PY_VECTORCALL_ARGUMENTS_OFFSET` flag. To get the actual number "
"of positional arguments from *nargsf*, use :c:func:`PyVectorcall_NARGS`."
msgstr ""
"``nargsf`` は位置引数の数に、場合によっ"
"て :c:macro:`PY_VECTORCALL_ARGUMENTS_OFFSET` フラグを加えたものです。\n"
"``nargsf`` から実際の位置引数の数を取得するに"
"は、:c:func:`PyVectorcall_NARGS` を使ってください。"
msgid ""
"*kwnames* is a tuple containing the names of the keyword arguments; in other "
"words, the keys of the kwargs dict. These names must be strings (instances "
"of ``str`` or a subclass) and they must be unique. If there are no keyword "
"arguments, then *kwnames* can instead be *NULL*."
msgstr ""
"``kwnames`` はキーワード引数の名前、つまり kwargs 辞書のキーを格納するタプル"
"です。\n"
"名前は文字列 (``str`` またはそのサブクラスのインスタンス) で、重複してはいけ"
"ません。\n"
"キーワード引数がない場合、``kwnames`` は ``NULL`` でも構いません。"
msgid ""
"If this flag is set in a vectorcall *nargsf* argument, the callee is allowed "
"to temporarily change ``args[-1]``. In other words, *args* points to "
"argument 1 (not 0) in the allocated vector. The callee must restore the "
"value of ``args[-1]`` before returning."
msgstr ""
"vectorcall の ``nargsf`` 引数にこのフラグが設定されている場合、呼び出される側"
"は一時的に ``args[-1]`` を変更できます。\n"
"つまり、``args`` は割り当てられたベクトル内の引数 0 ではなく引数 1 を指しま"
"す。\n"
"呼び出される側は、戻る前に ``args[-1]`` の値を元に戻す必要があります。"
msgid ""
"For :c:func:`PyObject_VectorcallMethod`, this flag means instead that "
"``args[0]`` may be changed."
msgstr ""
":c:func:`PyObject_VectorcallMethod` の場合、このフラグは代わりに ``args[0]`` "
"を変更してよいことを意味します。"
msgid ""
"Whenever they can do so cheaply (without additional allocation), callers are "
"encouraged to use :c:macro:`PY_VECTORCALL_ARGUMENTS_OFFSET`. Doing so will "
"allow callables such as bound methods to make their onward calls (which "
"include a prepended *self* argument) very efficiently."
msgstr ""
"追加の割り当てなしに低コストで設定できる場合、呼び出し側"
"は :c:macro:`PY_VECTORCALL_ARGUMENTS_OFFSET` を使うことが推奨されます。\n"
"これにより、束縛メソッドなどの呼び出し可能オブジェクトは、先頭に ``self`` 引"
"数を追加して次の呼び出しを行う処理を非常に効率的に実行できます。"
msgid ""
"To call an object that implements vectorcall, use a :ref:`call API <capi-"
"call>` function as with any other callable. :c:func:`PyObject_Vectorcall` "
"will usually be most efficient."
msgstr ""
"vectorcall を実装するオブジェクトを呼び出すには、ほかの呼び出し可能オブジェク"
"トと同様に :ref:`呼び出し API <capi-call>` の関数を使ってください。\n"
"通常は :c:func:`PyObject_Vectorcall` が最も効率的です。"
#: ../../c-api/call.rst:119
msgid "Recursion Control"
msgstr "再帰の管理"
msgid ""
"When using *tp_call*, callees do not need to worry about :ref:`recursion "
"<recursion>`: CPython uses :c:func:`Py_EnterRecursiveCall` "
"and :c:func:`Py_LeaveRecursiveCall` for calls made using *tp_call*."
msgstr ""
"*tp_call* を使う場合、呼び出される側は :ref:`再帰 <recursion>` を管理する必要"
"はありません。\n"
"CPython は *tp_call* による呼び出しで :c:func:`Py_EnterRecursiveCall` "
"と :c:func:`Py_LeaveRecursiveCall` を使います。"
msgid ""
"For efficiency, this is not the case for calls done using vectorcall: the "
"callee should use *Py_EnterRecursiveCall* and *Py_LeaveRecursiveCall* if "
"needed."
msgstr ""
"効率のため、vectorcall による呼び出しではこの管理を行いません。\n"
"必要に応じて、呼び出される側が ``Py_EnterRecursiveCall()`` と "
"``Py_LeaveRecursiveCall()`` を使ってください。"
msgid "Vectorcall Support API"
msgstr "vectorcall サポート API"
msgid ""
"Given a vectorcall *nargsf* argument, return the actual number of arguments. "
"Currently equivalent to::"
msgstr ""
"vectorcall の ``nargsf`` 引数から、実際の引数の数を返します。\n"
"現在は次と同等です。 ::"
msgid "(Py_ssize_t)(nargsf & ~PY_VECTORCALL_ARGUMENTS_OFFSET)"
msgstr "(Py_ssize_t)(nargsf & ~PY_VECTORCALL_ARGUMENTS_OFFSET)"
msgid ""
"However, the function ``PyVectorcall_NARGS`` should be used to allow for "
"future extensions."
msgstr ""
"ただし、将来の拡張に対応するため、関数 ``PyVectorcall_NARGS`` を使ってくださ"
"い。"
msgid ""
"If *op* does not support the vectorcall protocol (either because the type "
"does not or because the specific instance does not), return *NULL*. "
"Otherwise, return the vectorcall function pointer stored in *op*. This "
"function never raises an exception."
msgstr ""
"``op`` が vectorcall プロトコルをサポートしていなければ (型がサポートしていな"
"い場合も、そのインスタンスがサポートしていない場合も) ``NULL`` を返します。\n"
"それ以外の場合は、``op`` に格納された vectorcall 関数ポインタを返します。\n"
"この関数が例外を送出することはありません。"
msgid ""
"This is mostly useful to check whether or not *op* supports vectorcall, "
"which can be done by checking ``PyVectorcall_Function(op) != NULL``."
msgstr ""
"主に、``op`` が vectorcall をサポートするかどうかを確認するのに便利です。\n"
"``PyVectorcall_Function(op) != NULL`` で確認できます。"
msgid ""
"Call *callable*'s :c:type:`vectorcallfunc` with positional and keyword "
"arguments given in a tuple and dict, respectively."
msgstr ""
"それぞれタプルと辞書で与えられた位置引数とキーワード引数を使い、``callable`` "
"の :c:type:`vectorcallfunc` を呼び出します。"
msgid ""
"This is a specialized function, intended to be put in "
"the :c:member:`~PyTypeObject.tp_call` slot or be used in an implementation "
"of ``tp_call``. It does not check the :c:macro:`Py_TPFLAGS_HAVE_VECTORCALL` "
"flag and it does not fall back to ``tp_call``."
msgstr ""
"この特殊用途の関数は、:c:member:`~PyTypeObject.tp_call` スロットに設定する"
"か、``tp_call`` の実装内で使うためのものです。\n"
":c:macro:`Py_TPFLAGS_HAVE_VECTORCALL` フラグを確認せず、``tp_call`` への"
"フォールバックも行いません。"
msgid "Object Calling API"
msgstr "オブジェクト呼び出し API"
msgid ""
"Various functions are available for calling a Python object. Each converts "
"its arguments to a convention supported by the called object – either "
"*tp_call* or vectorcall. In order to do as little conversion as possible, "
"pick one that best fits the format of data you have available."
msgstr ""
"Python オブジェクトを呼び出すためのさまざまな関数があります。\n"
"各関数は、呼び出すオブジェクトがサポートする *tp_call* または vectorcall の規"
"約に引数を変換します。\n"
"変換を最小限にするため、手元のデータの形式に最も合う関数を選んでください。"
msgid ""
"The following table summarizes the available functions; please see "
"individual documentation for details."
msgstr ""
"利用できる関数を以下の表にまとめます。\n"
"詳細は個別の説明を参照してください。"
#: ../../c-api/call.rst:187
msgid "Function"
msgstr "関数"
#: ../../c-api/call.rst:187
msgid "callable"
msgstr "callable"
#: ../../c-api/call.rst:187
msgid "args"
msgstr "``args``"
#: ../../c-api/call.rst:187
msgid "kwargs"
msgstr "``kwargs``"
#: ../../c-api/call.rst:189
msgid ":c:func:`PyObject_Call`"
msgstr ":c:func:`PyObject_Call`"
#: ../../c-api/call.rst:189 ../../c-api/call.rst:191 ../../c-api/call.rst:193
#: ../../c-api/call.rst:195 ../../c-api/call.rst:197 ../../c-api/call.rst:201
#: ../../c-api/call.rst:209 ../../c-api/call.rst:211
msgid "``PyObject *``"
msgstr "``PyObject *``"
#: ../../c-api/call.rst:189
msgid "tuple"
msgstr "tuple"
msgid "dict/``NULL``"
msgstr "dict/``NULL``"
#: ../../c-api/call.rst:191
msgid ":c:func:`PyObject_CallNoArgs`"
msgstr ":c:func:`PyObject_CallNoArgs`"
#: ../../c-api/call.rst:191 ../../c-api/call.rst:193 ../../c-api/call.rst:195
#: ../../c-api/call.rst:197 ../../c-api/call.rst:199 ../../c-api/call.rst:201
#: ../../c-api/call.rst:203 ../../c-api/call.rst:205 ../../c-api/call.rst:207
msgid "---"
msgstr "---"
#: ../../c-api/call.rst:193
msgid ":c:func:`PyObject_CallOneArg`"
msgstr ":c:func:`PyObject_CallOneArg`"
msgid "1 object"
msgstr "1 個のオブジェクト"
#: ../../c-api/call.rst:195
msgid ":c:func:`PyObject_CallObject`"
msgstr ":c:func:`PyObject_CallObject`"
msgid "tuple/``NULL``"
msgstr "tuple/``NULL``"
#: ../../c-api/call.rst:197
msgid ":c:func:`PyObject_CallFunction`"
msgstr ":c:func:`PyObject_CallFunction`"
#: ../../c-api/call.rst:197 ../../c-api/call.rst:199
msgid "format"
msgstr "format"
#: ../../c-api/call.rst:199
msgid ":c:func:`PyObject_CallMethod`"
msgstr ":c:func:`PyObject_CallMethod`"
msgid "obj + ``char*``"
msgstr "obj + ``char*``"
#: ../../c-api/call.rst:201
msgid ":c:func:`PyObject_CallFunctionObjArgs`"
msgstr ":c:func:`PyObject_CallFunctionObjArgs`"
msgid "variadic"
msgstr "可変長引数"
#: ../../c-api/call.rst:203
msgid ":c:func:`PyObject_CallMethodObjArgs`"
msgstr ":c:func:`PyObject_CallMethodObjArgs`"
msgid "obj + name"
msgstr "obj + 名前"
#: ../../c-api/call.rst:205
msgid ":c:func:`PyObject_CallMethodNoArgs`"
msgstr ":c:func:`PyObject_CallMethodNoArgs`"
#: ../../c-api/call.rst:207
msgid ":c:func:`PyObject_CallMethodOneArg`"
msgstr ":c:func:`PyObject_CallMethodOneArg`"
#: ../../c-api/call.rst:209
msgid ":c:func:`PyObject_Vectorcall`"
msgstr ":c:func:`PyObject_Vectorcall`"
msgid "vectorcall"
msgstr "vectorcall"
#: ../../c-api/call.rst:211
msgid ":c:func:`PyObject_VectorcallDict`"
msgstr ":c:func:`PyObject_VectorcallDict`"
#: ../../c-api/call.rst:213
msgid ":c:func:`PyObject_VectorcallMethod`"
msgstr ":c:func:`PyObject_VectorcallMethod`"
msgid "arg + name"
msgstr "arg + 名前"
#: ../../c-api/call.rst:219
msgid ""
"Call a callable Python object *callable*, with arguments given by the tuple "
"*args*, and named arguments given by the dictionary *kwargs*."
msgstr ""
"呼び出し可能な Python のオブジェクト *callable* を、タプル *args* として与え"
"られる引数と辞書 *kwargs* として与えられる名前付き引数とともに呼び出します。"
msgid ""
"*args* must not be *NULL*; use an empty tuple if no arguments are needed. If "
"no named arguments are needed, *kwargs* can be *NULL*."
msgstr ""
"``args`` は ``NULL`` であってはいけません。\n"
"引数が不要な場合は空のタプルを使ってください。\n"
"キーワード引数が不要な場合は ``kwargs`` を ``NULL`` にできます。"
#: ../../c-api/call.rst:225 ../../c-api/call.rst:237 ../../c-api/call.rst:248
#: ../../c-api/call.rst:259 ../../c-api/call.rst:271 ../../c-api/call.rst:291
#: ../../c-api/call.rst:310 ../../c-api/call.rst:324 ../../c-api/call.rst:333
#: ../../c-api/call.rst:345 ../../c-api/call.rst:360 ../../c-api/call.rst:399
msgid ""
"Return the result of the call on success, or raise an exception and return "
"*NULL* on failure."
msgstr ""
"成功したら呼び出しの結果を返し、失敗したら例外を送出し *NULL* を返します。"
#: ../../c-api/call.rst:228
msgid ""
"This is the equivalent of the Python expression: ``callable(*args, "
"**kwargs)``."
msgstr "これは次の Python の式と同等です: ``callable(*args, **kwargs)`` 。"
msgid ""
"Call a callable Python object *callable* without any arguments. It is the "
"most efficient way to call a callable Python object without any argument."
msgstr ""
"呼び出し可能な Python オブジェクト ``callable`` を引数なしで呼び出します。\n"
"引数なしで呼び出すには最も効率的な方法です。"
msgid ""
"Call a callable Python object *callable* with exactly 1 positional argument "
"*arg* and no keyword arguments."
msgstr ""
"呼び出し可能な Python オブジェクト ``callable`` を、位置引数 ``arg`` だけを渡"
"し、キーワード引数なしで呼び出します。"
msgid ""
"Call a callable Python object *callable*, with arguments given by the tuple "
"*args*. If no arguments are needed, then *args* can be *NULL*."
msgstr ""
"呼び出し可能な Python オブジェクト ``callable`` を、タプル ``args`` で与えら"
"れた引数で呼び出します。\n"
"引数が不要な場合は ``args`` を ``NULL`` にできます。"
#: ../../c-api/call.rst:262 ../../c-api/call.rst:274
msgid "This is the equivalent of the Python expression: ``callable(*args)``."
msgstr "これは次の Python の式と同等です: ``callable(*args)`` 。"
#: ../../c-api/call.rst:267
msgid ""
"Call a callable Python object *callable*, with a variable number of C "
"arguments. The C arguments are described using a :c:func:`Py_BuildValue` "
"style format string. The format can be *NULL*, indicating that no arguments "
"are provided."
msgstr ""
"呼び出し可能な Python オブジェクト *callable* を可変数個の C 引数とともに呼び"
"出します。\n"
"C 引数は :c:func:`Py_BuildValue` 形式のフォーマット文字列を使って記述しま"
"す。\n"
"*format* は *NULL* かもしれず、与える引数がないことを表します。"
msgid ""
"Note that if you only pass :c:expr:`PyObject *` "
"args, :c:func:`PyObject_CallFunctionObjArgs` is a faster alternative."
msgstr ""
":c:expr:`PyObject *` args だけを引数に渡す場合"
"は、 :c:func:`PyObject_CallFunctionObjArgs` がより速い方法であることを覚えて"
"おいてください。"
#: ../../c-api/call.rst:279
msgid "The type of *format* was changed from ``char *``."
msgstr "*format* の型が ``char *`` から変更されました。"
#: ../../c-api/call.rst:285
msgid ""
"Call the method named *name* of object *obj* with a variable number of C "
"arguments. The C arguments are described by a :c:func:`Py_BuildValue` "
"format string that should produce a tuple."
msgstr ""
"オブジェクト *obj* の *name* という名前のメソッドを、いくつかの C 引数ととも"
"に呼び出します。\n"
"C 引数はタプルを生成する :c:func:`Py_BuildValue` 形式のフォーマット文字列で記"
"述されています。"
msgid "The format can be *NULL*, indicating that no arguments are provided."
msgstr "*format* は *NULL* でもよく、引数が与えられないことを表します。"
#: ../../c-api/call.rst:294
msgid ""
"This is the equivalent of the Python expression: ``obj.name(arg1, "
"arg2, ...)``."
msgstr "これは次の Python の式と同等です: ``obj.name(arg1, arg2, ...)`` 。"
msgid ""
"Note that if you only pass :c:expr:`PyObject *` "
"args, :c:func:`PyObject_CallMethodObjArgs` is a faster alternative."
msgstr ""
":c:expr:`PyObject *` args だけを引数に渡す場合"
"は、 :c:func:`PyObject_CallMethodObjArgs` がより速い方法であることを覚えてお"
"いてください。"
#: ../../c-api/call.rst:300
msgid "The types of *name* and *format* were changed from ``char *``."
msgstr "*name* と *format* の型が ``char *`` から変更されました。"
#: ../../c-api/call.rst:306
msgid ""
"Call a callable Python object *callable*, with a variable number "
"of :c:expr:`PyObject *` arguments. The arguments are provided as a variable "
"number of parameters followed by *NULL*."
msgstr ""
"呼び出し可能な Python オブジェクト *callable* を可変数個の :c:expr:`PyObject "
"*` 引数とともに呼び出します。引数列は末尾に *NULL* がついた可変数個のパラメタ"
"として与えます。"
#: ../../c-api/call.rst:313
msgid ""
"This is the equivalent of the Python expression: ``callable(arg1, "
"arg2, ...)``."
msgstr "これは次の Python の式と同等です: ``callable(arg1, arg2, ...)`` 。"
#: ../../c-api/call.rst:319
msgid ""
"Call a method of the Python object *obj*, where the name of the method is "
"given as a Python string object in *name*. It is called with a variable "
"number of :c:expr:`PyObject *` arguments. The arguments are provided as a "
"variable number of parameters followed by *NULL*."
msgstr ""
"Python オブジェクト *obj* のメソッドを呼び出します、メソッド名は Python 文字"
"列オブジェクト *name* で与えます。可変数個の :c:expr:`PyObject *` 引数と共に"
"呼び出されます. 引数列は末尾に *NULL* がついた可変数個のパラメタとして与えま"
"す。"
msgid ""
"Call a method of the Python object *obj* without arguments, where the name "
"of the method is given as a Python string object in *name*."
msgstr ""
"Python オブジェクト ``obj`` のメソッドを引数なしで呼び出します。\n"
"メソッド名は Python 文字列オブジェクト ``name`` で指定します。"
msgid ""
"Call a method of the Python object *obj* with a single positional argument "
"*arg*, where the name of the method is given as a Python string object in "
"*name*."
msgstr ""
"Python オブジェクト ``obj`` のメソッドを、一つの位置引数 ``arg`` を渡して呼び"
"出します。\n"
"メソッド名は Python 文字列オブジェクト ``name`` で指定します。"
msgid ""
"Call a callable Python object *callable*. The arguments are the same as "
"for :c:type:`vectorcallfunc`. If *callable* supports vectorcall_, this "
"directly calls the vectorcall function stored in *callable*."
msgstr ""
"呼び出し可能な Python オブジェクト ``callable`` を呼び出します。\n"
"引数は :c:type:`vectorcallfunc` と同じです。\n"
"``callable`` が vectorcall_ をサポートしている場合は、``callable`` に格納され"
"た vectorcall 関数を直接呼び出します。"
msgid "as ``_PyObject_Vectorcall``"
msgstr "``_PyObject_Vectorcall`` として追加。"
msgid ""
"Renamed to the current name, without the leading underscore. The old "
"provisional name is :term:`soft deprecated`."
msgstr ""
"先頭のアンダースコアを取り除いた現在の名前に変更しました。\n"
"以前の暫定的な名前は :term:`緩やかに非推奨 <soft deprecated>` です。"
msgid ""
"Call *callable* with positional arguments passed exactly as in the "
"vectorcall_ protocol, but with keyword arguments passed as a dictionary "
"*kwdict*. The *args* array contains only the positional arguments."
msgstr ""
"位置引数は vectorcall_ プロトコルとまったく同じ方法で渡し、キーワード引数は辞"
"書 ``kwdict`` で渡して ``callable`` を呼び出します。\n"
"``args`` 配列には位置引数だけを含めます。"
msgid ""
"Regardless of which protocol is used internally, a conversion of arguments "
"needs to be done. Therefore, this function should only be used if the caller "
"already has a dictionary ready to use for the keyword arguments, but not a "
"tuple for the positional arguments."
msgstr ""
"内部でどちらのプロトコルを使っても、引数の変換が必要です。\n"
"そのため、この関数は呼び出し側がキーワード引数の辞書をすでに用意していて、位"
"置引数のタプルは持っていない場合だけに使ってください。"
msgid ""
"Call a method using the vectorcall calling convention. The name of the "
"method is given as a Python string *name*. The object whose method is called "
"is *args[0]*, and the *args* array starting at *args[1]* represents the "
"arguments of the call. There must be at least one positional argument. "
"*nargsf* is the number of positional arguments including *args[0]*, "
"plus :c:macro:`PY_VECTORCALL_ARGUMENTS_OFFSET` if the value of ``args[0]`` "
"may temporarily be changed. Keyword arguments can be passed just like "
"in :c:func:`PyObject_Vectorcall`."
msgstr ""
"vectorcall の呼び出し規約でメソッドを呼び出します。\n"
"メソッド名は Python 文字列 ``name`` で指定します。\n"
"メソッドを呼び出す対象のオブジェクトは ``args[0]`` で、``args[1]`` から始ま"
"る ``args`` 配列が呼び出しの引数を表します。\n"
"位置引数は少なくとも一つ必要です。\n"
"``nargsf`` は ``args[0]`` を含む位置引数の数で、``args[0]`` の値を一時的に変"
"更してよい場合は :c:macro:`PY_VECTORCALL_ARGUMENTS_OFFSET` を加えます。\n"
"キーワード引数は :c:func:`PyObject_Vectorcall` と同じ方法で渡せます。"
msgid ""
"If the object has the :c:macro:`Py_TPFLAGS_METHOD_DESCRIPTOR` feature, this "
"will call the unbound method object with the full *args* vector as arguments."
msgstr ""
"オブジェクトが :c:macro:`Py_TPFLAGS_METHOD_DESCRIPTOR` の機能を持つ場合、"
"``args`` ベクトル全体を引数として非束縛メソッドオブジェクトを呼び出します。"
msgid "Call Support API"
msgstr "呼び出しサポート API"
#: ../../c-api/call.rst:410
msgid ""
"Determine if the object *o* is callable. Return ``1`` if the object is "
"callable and ``0`` otherwise. This function always succeeds."
msgstr ""
"オブジェクト *o* が呼び出し可能オブジェクトかどうか調べます。オブジェクトが呼"
"び出し可能であるときに ``1`` を返し、そうでないときには ``0`` を返します。こ"
"の関数呼び出しは常に成功します。"