Skip to content

Commit 1d12624

Browse files
author
github-actions
committed
Update translations from Transifex
1 parent fa859b4 commit 1d12624

File tree

15 files changed

+896
-905
lines changed

15 files changed

+896
-905
lines changed

c-api/object.po

Lines changed: 42 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.11\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2023-03-03 14:14+0000\n"
14+
"POT-Creation-Date: 2023-03-24 14:14+0000\n"
1515
"PO-Revision-Date: 2021-06-28 00:49+0000\n"
1616
"Last-Translator: tomo, 2021\n"
1717
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/"
@@ -262,7 +262,20 @@ msgstr ""
262262
"`PyObject_RichCompareBool` は :const:`Py_EQ` に対して常に ``1`` を返し、 :"
263263
"const:`Py_NE` に対して常に ``0`` を返します。"
264264

265-
#: ../../c-api/object.rst:186
265+
#: ../../c-api/object.rst:184
266+
msgid ""
267+
"Format *obj* using *format_spec*. This is equivalent to the Python "
268+
"expression ``format(obj, format_spec)``."
269+
msgstr ""
270+
271+
#: ../../c-api/object.rst:187
272+
msgid ""
273+
"*format_spec* may be ``NULL``. In this case the call is equivalent to "
274+
"``format(obj)``. Returns the formatted string on success, ``NULL`` on "
275+
"failure."
276+
msgstr ""
277+
278+
#: ../../c-api/object.rst:195
266279
msgid ""
267280
"Compute a string representation of object *o*. Returns the string "
268281
"representation on success, ``NULL`` on failure. This is the equivalent of "
@@ -273,15 +286,15 @@ msgstr ""
273286
"ると ``NULL`` を返します。 Python 式 ``repr(o)`` と同じです。この関数は組み込"
274287
"み関数 :func:`repr` の処理で呼び出されます。"
275288

276-
#: ../../c-api/object.rst:190 ../../c-api/object.rst:214
289+
#: ../../c-api/object.rst:199 ../../c-api/object.rst:223
277290
msgid ""
278291
"This function now includes a debug assertion to help ensure that it does not "
279292
"silently discard an active exception."
280293
msgstr ""
281294
"アクティブな例外を黙って捨てないことを保証するのに便利なように、この関数はデ"
282295
"バッグアサーションを含むようになりました。"
283296

284-
#: ../../c-api/object.rst:198
297+
#: ../../c-api/object.rst:207
285298
msgid ""
286299
"As :c:func:`PyObject_Repr`, compute a string representation of object *o*, "
287300
"but escape the non-ASCII characters in the string returned by :c:func:"
@@ -295,7 +308,7 @@ msgstr ""
295308
"は Pythoh 2 の :c:func:`PyObject_Repr` が返す文字列と同じ文字列を生成しま"
296309
"す。 :func:`ascii` によって呼び出されます。"
297310

298-
#: ../../c-api/object.rst:209
311+
#: ../../c-api/object.rst:218
299312
msgid ""
300313
"Compute a string representation of object *o*. Returns the string "
301314
"representation on success, ``NULL`` on failure. This is the equivalent of "
@@ -306,7 +319,7 @@ msgstr ""
306319
"ると ``NULL`` を返します。 Python 式 ``str(o)`` と同じです。この関数は組み込"
307320
"み関数 :func:`str` や、 :func:`print` 関数の処理で呼び出されます。"
308321

309-
#: ../../c-api/object.rst:223
322+
#: ../../c-api/object.rst:232
310323
msgid ""
311324
"Compute a bytes representation of object *o*. ``NULL`` is returned on "
312325
"failure and a bytes object on success. This is equivalent to the Python "
@@ -319,7 +332,7 @@ msgstr ""
319332
"``bytes(o)`` と同じです。 ``bytes(o)`` と違って、 *o* が整数のときには、ゼロ"
320333
"で初期化された bytes オブジェクトを返すのではなく TypeError が送出されます。"
321334

322-
#: ../../c-api/object.rst:232
335+
#: ../../c-api/object.rst:241
323336
msgid ""
324337
"Return ``1`` if the class *derived* is identical to or derived from the "
325338
"class *cls*, otherwise return ``0``. In case of an error, return ``-1``."
@@ -328,7 +341,7 @@ msgstr ""
328341
"場合は ``1`` を返し、そうでない場合は ``0`` を返します。\n"
329342
"エラーが起きた場合は ``-1`` を返します。"
330343

331-
#: ../../c-api/object.rst:235 ../../c-api/object.rst:254
344+
#: ../../c-api/object.rst:244 ../../c-api/object.rst:263
332345
msgid ""
333346
"If *cls* is a tuple, the check will be done against every entry in *cls*. "
334347
"The result will be ``1`` when at least one of the checks returns ``1``, "
@@ -338,7 +351,7 @@ msgstr ""
338351
"少なくとも1つのチェックで ``1`` が返ったとき、結果は ``1`` となり、それ以外の"
339352
"とき ``0`` になります。"
340353

341-
#: ../../c-api/object.rst:239
354+
#: ../../c-api/object.rst:248
342355
msgid ""
343356
"If *cls* has a :meth:`~class.__subclasscheck__` method, it will be called to "
344357
"determine the subclass status as described in :pep:`3119`. Otherwise, "
@@ -350,7 +363,7 @@ msgstr ""
350363
"そうでないとき *derived* が *cls* の子クラスになるのは、直接的あるいは間接的"
351364
"な子クラスである場合、つまり ``cls.__mro__`` に含まれる場合です。"
352365

353-
#: ../../c-api/object.rst:244
366+
#: ../../c-api/object.rst:253
354367
msgid ""
355368
"Normally only class objects, i.e. instances of :class:`type` or a derived "
356369
"class, are considered classes. However, objects can override this by having "
@@ -361,7 +374,7 @@ msgstr ""
361374
"しかし、オブジェクトに属性 :attr:`__bases__` (これは基底クラスのタプルでなけ"
362375
"ればならない) を持たせることで上書きできます。"
363376

364-
#: ../../c-api/object.rst:251
377+
#: ../../c-api/object.rst:260
365378
msgid ""
366379
"Return ``1`` if *inst* is an instance of the class *cls* or a subclass of "
367380
"*cls*, or ``0`` if not. On error, returns ``-1`` and sets an exception."
@@ -370,7 +383,7 @@ msgstr ""
370383
"``1`` を返し、そうでない場合に ``0`` を返します。\n"
371384
"エラーが起きると ``-1`` を返し例外を設定します。"
372385

373-
#: ../../c-api/object.rst:258
386+
#: ../../c-api/object.rst:267
374387
msgid ""
375388
"If *cls* has a :meth:`~class.__instancecheck__` method, it will be called to "
376389
"determine the subclass status as described in :pep:`3119`. Otherwise, "
@@ -381,15 +394,15 @@ msgstr ""
381394
"そうでないとき *inst* が *cls* のインスタンスになるのは、そのクラスが *cls* "
382395
"の子クラスである場合です。"
383396

384-
#: ../../c-api/object.rst:262
397+
#: ../../c-api/object.rst:271
385398
msgid ""
386399
"An instance *inst* can override what is considered its class by having a :"
387400
"attr:`__class__` attribute."
388401
msgstr ""
389402
"インスタンス *inst* に属性 :attr:`__class__` を持たせることで、そのクラスと見"
390403
"なされるものを上書きできます。"
391404

392-
#: ../../c-api/object.rst:265
405+
#: ../../c-api/object.rst:274
393406
msgid ""
394407
"An object *cls* can override if it is considered a class, and what its base "
395408
"classes are, by having a :attr:`__bases__` attribute (which must be a tuple "
@@ -399,29 +412,29 @@ msgstr ""
399412
"`__bases__` (これは基底クラスのタプルでなければならない) を持たせることで上書"
400413
"きできます。"
401414

402-
#: ../../c-api/object.rst:274
415+
#: ../../c-api/object.rst:283
403416
msgid ""
404417
"Compute and return the hash value of an object *o*. On failure, return "
405418
"``-1``. This is the equivalent of the Python expression ``hash(o)``."
406419
msgstr ""
407420
"オブジェクト *o* のハッシュ値を計算して返します。失敗すると ``-1`` を返しま"
408421
"す。 Python の式 ``hash(o)`` と同じです。"
409422

410-
#: ../../c-api/object.rst:277
423+
#: ../../c-api/object.rst:286
411424
msgid ""
412425
"The return type is now Py_hash_t. This is a signed integer the same size "
413426
"as :c:type:`Py_ssize_t`."
414427
msgstr ""
415428

416-
#: ../../c-api/object.rst:284
429+
#: ../../c-api/object.rst:293
417430
msgid ""
418431
"Set a :exc:`TypeError` indicating that ``type(o)`` is not :term:`hashable` "
419432
"and return ``-1``. This function receives special treatment when stored in a "
420433
"``tp_hash`` slot, allowing a type to explicitly indicate to the interpreter "
421434
"that it is not hashable."
422435
msgstr ""
423436

424-
#: ../../c-api/object.rst:292
437+
#: ../../c-api/object.rst:301
425438
msgid ""
426439
"Returns ``1`` if the object *o* is considered to be true, and ``0`` "
427440
"otherwise. This is equivalent to the Python expression ``not not o``. On "
@@ -430,7 +443,7 @@ msgstr ""
430443
"*o* が真を表すとみなせる場合には ``1`` を、そうでないときには ``0`` を返しま"
431444
"す。 Python の式 ``not not o`` と同じです。失敗すると ``-1`` を返します。"
432445

433-
#: ../../c-api/object.rst:299
446+
#: ../../c-api/object.rst:308
434447
msgid ""
435448
"Returns ``0`` if the object *o* is considered to be true, and ``1`` "
436449
"otherwise. This is equivalent to the Python expression ``not o``. On "
@@ -439,7 +452,7 @@ msgstr ""
439452
"*o* が真を表すとみなせる場合には ``0`` を、そうでないときには ``1`` を返しま"
440453
"す。 Python の式 ``not o`` と同じです。失敗すると ``-1`` を返します。"
441454

442-
#: ../../c-api/object.rst:308
455+
#: ../../c-api/object.rst:317
443456
msgid ""
444457
"When *o* is non-``NULL``, returns a type object corresponding to the object "
445458
"type of object *o*. On failure, raises :exc:`SystemError` and returns "
@@ -450,13 +463,13 @@ msgid ""
450463
"incremented reference count is needed."
451464
msgstr ""
452465

453-
#: ../../c-api/object.rst:319
466+
#: ../../c-api/object.rst:328
454467
msgid ""
455468
"Return non-zero if the object *o* is of type *type* or a subtype of *type*, "
456469
"and ``0`` otherwise. Both parameters must be non-``NULL``."
457470
msgstr ""
458471

459-
#: ../../c-api/object.rst:328
472+
#: ../../c-api/object.rst:337
460473
msgid ""
461474
"Return the length of object *o*. If the object *o* provides either the "
462475
"sequence and mapping protocols, the sequence length is returned. On error, "
@@ -467,7 +480,7 @@ msgstr ""
467480
"型プロトコルの両方を提供している場合、シーケンスとしての長さを返します。エ"
468481
"ラーが生じると ``-1`` を返します。 Python の式 ``len(o)`` と同じです。"
469482

470-
#: ../../c-api/object.rst:335
483+
#: ../../c-api/object.rst:344
471484
msgid ""
472485
"Return an estimated length for the object *o*. First try to return its "
473486
"actual length, then an estimate using :meth:`~object.__length_hint__`, and "
@@ -476,15 +489,15 @@ msgid ""
476489
"defaultvalue)``."
477490
msgstr ""
478491

479-
#: ../../c-api/object.rst:345
492+
#: ../../c-api/object.rst:354
480493
msgid ""
481494
"Return element of *o* corresponding to the object *key* or ``NULL`` on "
482495
"failure. This is the equivalent of the Python expression ``o[key]``."
483496
msgstr ""
484497
"オブジェクト *key* に対応する *o* の要素を返します。失敗すると ``NULL`` を返"
485498
"します。Python の式 ``o[key]`` と同じです。"
486499

487-
#: ../../c-api/object.rst:351
500+
#: ../../c-api/object.rst:360
488501
msgid ""
489502
"Map the object *key* to the value *v*. Raise an exception and return ``-1`` "
490503
"on failure; return ``0`` on success. This is the equivalent of the Python "
@@ -495,15 +508,15 @@ msgstr ""
495508
"これは Python の文 ``o[key] = v`` と同等です。\n"
496509
"この関数は *v* への参照を *盗み取りません* 。"
497510

498-
#: ../../c-api/object.rst:359
511+
#: ../../c-api/object.rst:368
499512
msgid ""
500513
"Remove the mapping for the object *key* from the object *o*. Return ``-1`` "
501514
"on failure. This is equivalent to the Python statement ``del o[key]``."
502515
msgstr ""
503516
"オブジェクト *o* から *key* に関する対応付けを削除します。失敗すると ``-1`` "
504517
"を返します。Python の文 ``del o[key]`` と同じです。"
505518

506-
#: ../../c-api/object.rst:365
519+
#: ../../c-api/object.rst:374
507520
msgid ""
508521
"This is equivalent to the Python expression ``dir(o)``, returning a "
509522
"(possibly empty) list of strings appropriate for the object argument, or "
@@ -518,7 +531,7 @@ msgstr ""
518531
"様に、現在のローカルな名前を返します; この場合、アクティブな実行フレームがな"
519532
"ければ ``NULL`` を返しますが、 :c:func:`PyErr_Occurred` は偽を返します。"
520533

521-
#: ../../c-api/object.rst:374
534+
#: ../../c-api/object.rst:383
522535
msgid ""
523536
"This is equivalent to the Python expression ``iter(o)``. It returns a new "
524537
"iterator for the object argument, or the object itself if the object is "
@@ -530,7 +543,7 @@ msgstr ""
530543
"す。オブジェクトが反復処理不可能であった場合には :exc:`TypeError` を送出して "
531544
"``NULL`` を返します。"
532545

533-
#: ../../c-api/object.rst:382
546+
#: ../../c-api/object.rst:391
534547
msgid ""
535548
"This is the equivalent to the Python expression ``aiter(o)``. Takes an :"
536549
"class:`AsyncIterable` object and returns an :class:`AsyncIterator` for it. "

0 commit comments

Comments
 (0)