5
5
#
6
6
# Translators:
7
7
# tomo, 2020
8
+ # Osamu NAKAMURA, 2021
8
9
#
9
10
#, fuzzy
10
11
msgid ""
@@ -13,7 +14,7 @@ msgstr ""
13
14
"Report-Msgid-Bugs-To : \n "
14
15
"POT-Creation-Date : 2021-01-01 16:06+0000\n "
15
16
"PO-Revision-Date : 2020-05-30 11:51+0000\n "
16
- "Last-Translator : tomo, 2020 \n "
17
+ "Last-Translator : Osamu NAKAMURA, 2021 \n "
17
18
"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
18
19
"MIME-Version : 1.0\n "
19
20
"Content-Type : text/plain; charset=UTF-8\n "
@@ -2368,7 +2369,7 @@ msgstr ""
2368
2369
#: ../../c-api/typeobj.rst:1330
2369
2370
msgid ""
2370
2371
"An optional pointer to the rich comparison function, whose signature is::"
2371
- msgstr ""
2372
+ msgstr "オプションのポインタで、拡張比較関数を指します。シグネチャは次の通りです:: "
2372
2373
2373
2374
#: ../../c-api/typeobj.rst:1334
2374
2375
msgid ""
@@ -2455,7 +2456,7 @@ msgstr "``>=``"
2455
2456
#: ../../c-api/typeobj.rst:1361
2456
2457
msgid ""
2457
2458
"The following macro is defined to ease writing rich comparison functions:"
2458
- msgstr ""
2459
+ msgstr "拡張比較関数(rich comparison functions)を簡単に記述するためのマクロが定義されています: "
2459
2460
2460
2461
#: ../../c-api/typeobj.rst:1365
2461
2462
msgid ""
@@ -2464,14 +2465,16 @@ msgid ""
2464
2465
"operators (for example, they may be C ints or floats). The third argument "
2465
2466
"specifies the requested operation, as for :c:func:`PyObject_RichCompare`."
2466
2467
msgstr ""
2468
+ "比較した結果に応じて ``Py_True` か `Py_False` を返します。\n"
2469
+ "VAL_A と VAL_B は C の比較演算によって順序付け可能でなければなりません(例えばこれらは C言語の整数か浮動小数点数になるでしょう)。三番目の引数には :c:func:`PyObject_RichCompare` と同様に要求された演算を指定します。"
2467
2470
2468
2471
#: ../../c-api/typeobj.rst:1371
2469
2472
msgid "The return value's reference count is properly incremented."
2470
- msgstr ""
2473
+ msgstr "返り値の参照カウントは適切にインクリメントされます。 "
2471
2474
2472
2475
#: ../../c-api/typeobj.rst:1373
2473
2476
msgid "On error, sets an exception and returns ``NULL`` from the function."
2474
- msgstr ""
2477
+ msgstr "エラー時には、例外を設定して、関数から ``NULL`` でリターンします。 "
2475
2478
2476
2479
#: ../../c-api/typeobj.rst:1381
2477
2480
msgid ""
@@ -2569,13 +2572,13 @@ msgstr ""
2569
2572
2570
2573
#: ../../c-api/typeobj.rst:1435
2571
2574
msgid "This function has the same signature as :c:func:`PyObject_GetIter`::"
2572
- msgstr ""
2575
+ msgstr "この関数は :c:func:`PyObject_GetIter` と同じシグネチャを持っています:: "
2573
2576
2574
2577
#: ../../c-api/typeobj.rst:1446
2575
2578
msgid ""
2576
2579
"An optional pointer to a function that returns the next item in an iterator."
2577
2580
" The signature is::"
2578
- msgstr ""
2581
+ msgstr "オプションのポインタで、イテレーターの次の要素を返す関数を指します。シグネチャは次の通りです:: "
2579
2582
2580
2583
#: ../../c-api/typeobj.rst:1451
2581
2584
msgid ""
@@ -2752,7 +2755,7 @@ msgstr "オプションのポインタで、デスクリプタの get 関数を
2752
2755
#: ../../c-api/typeobj.rst:1672 ../../c-api/typeobj.rst:1702
2753
2756
#: ../../c-api/typeobj.rst:1726
2754
2757
msgid "The function signature is::"
2755
- msgstr ""
2758
+ msgstr "関数のシグネチャは次のとおりです :: "
2756
2759
2757
2760
#: ../../c-api/typeobj.rst:1587
2758
2761
msgid ""
@@ -2762,7 +2765,7 @@ msgstr "オプションのポインタで、デスクリプタの値の設定と
2762
2765
2763
2766
#: ../../c-api/typeobj.rst:1594
2764
2767
msgid "The *value* argument is set to ``NULL`` to delete the value."
2765
- msgstr ""
2768
+ msgstr "値を削除するには、*value* 引数に ``NULL`` を設定します。 "
2766
2769
2767
2770
#: ../../c-api/typeobj.rst:1605
2768
2771
msgid ""
@@ -2921,7 +2924,7 @@ msgstr ""
2921
2924
2922
2925
#: ../../c-api/typeobj.rst:1687
2923
2926
msgid "Returns ``0`` on success, ``-1`` and sets an exception on error."
2924
- msgstr ""
2927
+ msgstr "成功のときには ``0`` を、エラー時には例外をセットして ``-1`` を返します。 "
2925
2928
2926
2929
#: ../../c-api/typeobj.rst:1695
2927
2930
msgid "For static types this field does not have a default."
@@ -3005,7 +3008,7 @@ msgstr ""
3005
3008
msgid ""
3006
3009
"An optional pointer to an instance deallocation function. Its signature "
3007
3010
"is::"
3008
- msgstr ""
3011
+ msgstr "オプションのポインタで、インスタンスのメモリ解放関数を指します。シグネチャは以下の通りです:: "
3009
3012
3010
3013
#: ../../c-api/typeobj.rst:1763
3011
3014
msgid ""
@@ -3095,11 +3098,11 @@ msgstr "このフィールドは継承されません; フィールドの値は
3095
3098
3096
3099
#: ../../c-api/typeobj.rst:1833
3097
3100
msgid "Unused. Internal use only."
3098
- msgstr ""
3101
+ msgstr "未使用のフィールドです。内部でのみ利用されます。 "
3099
3102
3100
3103
#: ../../c-api/typeobj.rst:1842
3101
3104
msgid "List of weak references to subclasses. Internal use only."
3102
- msgstr ""
3105
+ msgstr "サブクラスへの弱参照からなるリストです。内部で使用するためだけのものです。 "
3103
3106
3104
3107
#: ../../c-api/typeobj.rst:1851
3105
3108
msgid ""
@@ -3111,17 +3114,17 @@ msgstr "この型オブジェクトに対する弱参照からなるリストの
3111
3114
msgid ""
3112
3115
"This field is deprecated. Use :c:member:`~PyTypeObject.tp_finalize` "
3113
3116
"instead."
3114
- msgstr ""
3117
+ msgstr "このフィールドは廃止されました。:c:member:`~PyTypeObject.tp_finalize` を代わりに利用してください。 "
3115
3118
3116
3119
#: ../../c-api/typeobj.rst:1866
3117
3120
msgid "Used to index into the method cache. Internal use only."
3118
- msgstr ""
3121
+ msgstr "メソッドキャッシュへのインデックスとして使われます。内部使用だけのための関数です。 "
3119
3122
3120
3123
#: ../../c-api/typeobj.rst:1875
3121
3124
msgid ""
3122
3125
"An optional pointer to an instance finalization function. Its signature "
3123
3126
"is::"
3124
- msgstr ""
3127
+ msgstr "オプションのポインタで、インスタンスの終了処理関数を指します。シグネチャは以下の通りです:: "
3125
3128
3126
3129
#: ../../c-api/typeobj.rst:1879
3127
3130
msgid ""
@@ -3635,7 +3638,7 @@ msgstr ""
3635
3638
3636
3639
#: ../../c-api/typeobj.rst:2365
3637
3640
msgid "Slot Type typedefs"
3638
- msgstr ""
3641
+ msgstr "Slot Type typedefs "
3639
3642
3640
3643
#: ../../c-api/typeobj.rst:2369
3641
3644
msgid ""
@@ -3664,6 +3667,8 @@ msgid ""
3664
3667
"allocate additional memory; that should be done by "
3665
3668
":c:member:`~PyTypeObject.tp_new`."
3666
3669
msgstr ""
3670
+ "この関数では他のいかなるインスタンス初期化も行ってはなりません。追加のメモリ割り当てすらも行ってはなりません。そのような処理は "
3671
+ ":c:member:`~PyTypeObject.tp_new` で行われるべきです。"
3667
3672
3668
3673
#: ../../c-api/typeobj.rst:2386
3669
3674
msgid "See :c:member:`~PyTypeObject.tp_vectorcall_offset`."
@@ -3677,61 +3682,61 @@ msgstr ""
3677
3682
3678
3683
#: ../../c-api/typeobj.rst:2394
3679
3684
msgid "See :c:member:`~PyTypeObject.tp_free`."
3680
- msgstr ""
3685
+ msgstr ":c:member:`~PyTypeObject.tp_free` を参照してください。 "
3681
3686
3682
3687
#: ../../c-api/typeobj.rst:2398
3683
3688
msgid "See :c:member:`~PyTypeObject.tp_new`."
3684
- msgstr ""
3689
+ msgstr ":c:member:`~PyTypeObject.tp_new` を参照してください。 "
3685
3690
3686
3691
#: ../../c-api/typeobj.rst:2402
3687
3692
msgid "See :c:member:`~PyTypeObject.tp_init`."
3688
- msgstr ""
3693
+ msgstr ":c:member:`~PyTypeObject.tp_init` を参照してください。 "
3689
3694
3690
3695
#: ../../c-api/typeobj.rst:2406
3691
3696
msgid "See :c:member:`~PyTypeObject.tp_repr`."
3692
- msgstr ""
3697
+ msgstr ":c:member:`~PyTypeObject.tp_repr` を参照してください。 "
3693
3698
3694
3699
#: ../../c-api/typeobj.rst:2410 ../../c-api/typeobj.rst:2419
3695
3700
msgid "Return the value of the named attribute for the object."
3696
- msgstr ""
3701
+ msgstr "オブジェクトの属性の値を返します。 "
3697
3702
3698
3703
#: ../../c-api/typeobj.rst:2414 ../../c-api/typeobj.rst:2425
3699
3704
msgid ""
3700
3705
"Set the value of the named attribute for the object. The value argument is "
3701
3706
"set to ``NULL`` to delete the attribute."
3702
- msgstr ""
3707
+ msgstr "オブジェクトの属性に値を設定します。属性を削除するには、 value 引数に ``NULL`` を設定します。 "
3703
3708
3704
3709
#: ../../c-api/typeobj.rst:2421
3705
3710
msgid "See :c:member:`~PyTypeObject.tp_getattro`."
3706
- msgstr ""
3711
+ msgstr ":c:member:`~PyTypeObject.tp_getattro` を参照してください。 "
3707
3712
3708
3713
#: ../../c-api/typeobj.rst:2428
3709
3714
msgid "See :c:member:`~PyTypeObject.tp_setattro`."
3710
- msgstr ""
3715
+ msgstr ":c:member:`~PyTypeObject.tp_setattro` を参照してください。 "
3711
3716
3712
3717
#: ../../c-api/typeobj.rst:2432
3713
3718
msgid "See :c:member:`~PyTypeObject.tp_descrget`."
3714
- msgstr ""
3719
+ msgstr ":c:member:`~PyTypeObject.tp_descrget` を参照してください。 "
3715
3720
3716
3721
#: ../../c-api/typeobj.rst:2436
3717
3722
msgid "See :c:member:`~PyTypeObject.tp_descrset`."
3718
- msgstr ""
3723
+ msgstr ":c:member:`~PyTypeObject.tp_descrset` を参照してください。 "
3719
3724
3720
3725
#: ../../c-api/typeobj.rst:2440
3721
3726
msgid "See :c:member:`~PyTypeObject.tp_hash`."
3722
- msgstr ""
3727
+ msgstr ":c:member:`~PyTypeObject.tp_hash` を参照してください。 "
3723
3728
3724
3729
#: ../../c-api/typeobj.rst:2444
3725
3730
msgid "See :c:member:`~PyTypeObject.tp_richcompare`."
3726
- msgstr ""
3731
+ msgstr ":c:member:`~PyTypeObject.tp_richcompare` を参照してください。 "
3727
3732
3728
3733
#: ../../c-api/typeobj.rst:2448
3729
3734
msgid "See :c:member:`~PyTypeObject.tp_iter`."
3730
- msgstr ""
3735
+ msgstr ":c:member:`~PyTypeObject.tp_iter` を参照してください。 "
3731
3736
3732
3737
#: ../../c-api/typeobj.rst:2452
3733
3738
msgid "See :c:member:`~PyTypeObject.tp_iternext`."
3734
- msgstr ""
3739
+ msgstr ":c:member:`~PyTypeObject.tp_iternext` を参照してください。 "
3735
3740
3736
3741
#: ../../c-api/typeobj.rst:2478
3737
3742
msgid "Examples"
@@ -3744,31 +3749,34 @@ msgid ""
3744
3749
"more examples, practical info, and a tutorial, see :ref:`defining-new-types`"
3745
3750
" and :ref:`new-types-topics`."
3746
3751
msgstr ""
3752
+ "ここでは Python "
3753
+ "の型定義の簡単な例をいくつか挙げます。これらの例にはあなたが遭遇する共通的な利用例を含んでいます。いくつかの例ではトリッキーなコーナーケースを実演しています。より多くの例や実践的な情報、チュートリアルが必要なら、:ref"
3754
+ ":`defining-new-types` や :ref:`new-types-topics` を参照してください。"
3747
3755
3748
3756
#: ../../c-api/typeobj.rst:2485
3749
3757
msgid "A basic static type::"
3750
- msgstr ""
3758
+ msgstr "基本的な静的型:: "
3751
3759
3752
3760
#: ../../c-api/typeobj.rst:2502
3753
3761
msgid ""
3754
3762
"You may also find older code (especially in the CPython code base) with a "
3755
3763
"more verbose initializer::"
3756
- msgstr ""
3764
+ msgstr "より冗長な初期化子を用いた古いコードを(特にCPythonのコードベース中で)見かけることがあるかもしれません:: "
3757
3765
3758
3766
#: ../../c-api/typeobj.rst:2546
3759
3767
msgid "A type that supports weakrefs, instance dicts, and hashing::"
3760
- msgstr ""
3768
+ msgstr "弱酸庄屋、インスタンス辞書、ハッシュをサポートする型:: "
3761
3769
3762
3770
#: ../../c-api/typeobj.rst:2573
3763
3771
msgid ""
3764
3772
"A str subclass that cannot be subclassed and cannot be called to create "
3765
3773
"instances (e.g. uses a separate factory func)::"
3766
- msgstr ""
3774
+ msgstr "サブクラス化を許可せず、インスタンスを生成するのに呼び出せない(つまり、別のファクトリー関数を呼び出す必要のある)str のサブクラス:: "
3767
3775
3768
3776
#: ../../c-api/typeobj.rst:2592
3769
3777
msgid "The simplest static type (with fixed-length instances)::"
3770
- msgstr ""
3778
+ msgstr "もっとも単純な静的型(固定長のインスタンス):: "
3771
3779
3772
3780
#: ../../c-api/typeobj.rst:2603
3773
3781
msgid "The simplest static type (with variable-length instances)::"
3774
- msgstr ""
3782
+ msgstr "もっとも単純な静的型(可変長インスタンス) "
0 commit comments