6
6
# Translators:
7
7
# E. Kawashima, 2017
8
8
# DaYeah Kim <[email protected] >, 2017
9
- # Osamu NAKAMURA, 2017
10
9
# Arihiro TAKASE, 2017
11
10
12
11
# tomo, 2020
13
12
# mollinaca, 2020
13
+ # Osamu NAKAMURA, 2021
14
14
#
15
15
#, fuzzy
16
16
msgid ""
@@ -19,7 +19,7 @@ msgstr ""
19
19
"Report-Msgid-Bugs-To : \n "
20
20
"POT-Creation-Date : 2021-01-01 05:02+0000\n "
21
21
"PO-Revision-Date : 2017-02-16 17:39+0000\n "
22
- "Last-Translator : mollinaca, 2020 \n "
22
+ "Last-Translator : Osamu NAKAMURA, 2021 \n "
23
23
"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
24
24
"MIME-Version : 1.0\n "
25
25
"Content-Type : text/plain; charset=UTF-8\n "
@@ -2344,7 +2344,7 @@ msgstr ""
2344
2344
#: ../../c-api/typeobj.rst:1318
2345
2345
msgid ""
2346
2346
"An optional pointer to the rich comparison function, whose signature is::"
2347
- msgstr ""
2347
+ msgstr "オプションのポインタで、拡張比較関数を指します。シグネチャは次の通りです:: "
2348
2348
2349
2349
#: ../../c-api/typeobj.rst:1322
2350
2350
msgid ""
@@ -2431,7 +2431,7 @@ msgstr "``>=``"
2431
2431
#: ../../c-api/typeobj.rst:1349
2432
2432
msgid ""
2433
2433
"The following macro is defined to ease writing rich comparison functions:"
2434
- msgstr ""
2434
+ msgstr "拡張比較関数(rich comparison functions)を簡単に記述するためのマクロが定義されています: "
2435
2435
2436
2436
#: ../../c-api/typeobj.rst:1353
2437
2437
msgid ""
@@ -2440,14 +2440,16 @@ msgid ""
2440
2440
"operators (for example, they may be C ints or floats). The third argument "
2441
2441
"specifies the requested operation, as for :c:func:`PyObject_RichCompare`."
2442
2442
msgstr ""
2443
+ "比較した結果に応じて ``Py_True` か `Py_False` を返します。\n"
2444
+ "VAL_A と VAL_B は C の比較演算によって順序付け可能でなければなりません(例えばこれらは C言語の整数か浮動小数点数になるでしょう)。三番目の引数には :c:func:`PyObject_RichCompare` と同様に要求された演算を指定します。"
2443
2445
2444
2446
#: ../../c-api/typeobj.rst:1359
2445
2447
msgid "The return value's reference count is properly incremented."
2446
- msgstr ""
2448
+ msgstr "返り値の参照カウントは適切にインクリメントされます。 "
2447
2449
2448
2450
#: ../../c-api/typeobj.rst:1361
2449
2451
msgid "On error, sets an exception and returns ``NULL`` from the function."
2450
- msgstr ""
2452
+ msgstr "エラー時には例外を設定して、関数から ``NULL`` でリターンします。 "
2451
2453
2452
2454
#: ../../c-api/typeobj.rst:1369
2453
2455
msgid ""
@@ -2545,13 +2547,13 @@ msgstr ""
2545
2547
2546
2548
#: ../../c-api/typeobj.rst:1423
2547
2549
msgid "This function has the same signature as :c:func:`PyObject_GetIter`::"
2548
- msgstr ""
2550
+ msgstr "この関数は :c:func:`PyObject_GetIter` と同じシグネチャを持っています:: "
2549
2551
2550
2552
#: ../../c-api/typeobj.rst:1434
2551
2553
msgid ""
2552
2554
"An optional pointer to a function that returns the next item in an iterator."
2553
2555
" The signature is::"
2554
- msgstr ""
2556
+ msgstr "オプションのポインタで、イテレーターの次の要素を返す関数を指します。シグネチャは次の通りです:: "
2555
2557
2556
2558
#: ../../c-api/typeobj.rst:1439
2557
2559
msgid ""
@@ -2728,7 +2730,7 @@ msgstr "オプションのポインタで、デスクリプタの get 関数を
2728
2730
#: ../../c-api/typeobj.rst:1660 ../../c-api/typeobj.rst:1690
2729
2731
#: ../../c-api/typeobj.rst:1714
2730
2732
msgid "The function signature is::"
2731
- msgstr ""
2733
+ msgstr "関数のシグネチャは次のとおりです :: "
2732
2734
2733
2735
#: ../../c-api/typeobj.rst:1575
2734
2736
msgid ""
@@ -2738,7 +2740,7 @@ msgstr "オプションのポインタで、デスクリプタの値の設定と
2738
2740
2739
2741
#: ../../c-api/typeobj.rst:1582
2740
2742
msgid "The *value* argument is set to ``NULL`` to delete the value."
2741
- msgstr ""
2743
+ msgstr "値を削除するには、*value* 引数に ``NULL`` を設定します。 "
2742
2744
2743
2745
#: ../../c-api/typeobj.rst:1593
2744
2746
msgid ""
@@ -2897,7 +2899,7 @@ msgstr ""
2897
2899
2898
2900
#: ../../c-api/typeobj.rst:1675
2899
2901
msgid "Returns ``0`` on success, ``-1`` and sets an exception on error."
2900
- msgstr ""
2902
+ msgstr "成功のときには ``0`` を、エラー時には例外をセットして ``-1`` を返します。 "
2901
2903
2902
2904
#: ../../c-api/typeobj.rst:1683
2903
2905
msgid "For static types this field does not have a default."
@@ -2978,7 +2980,7 @@ msgstr ""
2978
2980
msgid ""
2979
2981
"An optional pointer to an instance deallocation function. Its signature "
2980
2982
"is::"
2981
- msgstr ""
2983
+ msgstr "オプションのポインタで、インスタンスのメモリ解放関数を指します。シグネチャは以下の通りです:: "
2982
2984
2983
2985
#: ../../c-api/typeobj.rst:1751
2984
2986
msgid ""
@@ -3068,11 +3070,11 @@ msgstr "このフィールドは継承されません; フィールドの値は
3068
3070
3069
3071
#: ../../c-api/typeobj.rst:1821
3070
3072
msgid "Unused. Internal use only."
3071
- msgstr ""
3073
+ msgstr "未使用のフィールドです。内部でのみ利用されます。 "
3072
3074
3073
3075
#: ../../c-api/typeobj.rst:1830
3074
3076
msgid "List of weak references to subclasses. Internal use only."
3075
- msgstr ""
3077
+ msgstr "サブクラスへの弱参照からなるリストです。内部で使用するためだけのものです。 "
3076
3078
3077
3079
#: ../../c-api/typeobj.rst:1839
3078
3080
msgid ""
@@ -3084,17 +3086,17 @@ msgstr "この型オブジェクトに対する弱参照からなるリストの
3084
3086
msgid ""
3085
3087
"This field is deprecated. Use :c:member:`~PyTypeObject.tp_finalize` "
3086
3088
"instead."
3087
- msgstr ""
3089
+ msgstr "このフィールドは廃止されました。:c:member:`~PyTypeObject.tp_finalize` を代わりに利用してください。 "
3088
3090
3089
3091
#: ../../c-api/typeobj.rst:1854
3090
3092
msgid "Used to index into the method cache. Internal use only."
3091
- msgstr ""
3093
+ msgstr "メソッドキャッシュへのインデックスとして使われます。内部使用だけのための関数です。 "
3092
3094
3093
3095
#: ../../c-api/typeobj.rst:1863
3094
3096
msgid ""
3095
3097
"An optional pointer to an instance finalization function. Its signature "
3096
3098
"is::"
3097
- msgstr ""
3099
+ msgstr "オプションのポインタで、インスタンスの終了処理関数を指します。シグネチャは以下の通りです:: "
3098
3100
3099
3101
#: ../../c-api/typeobj.rst:1867
3100
3102
msgid ""
@@ -3140,11 +3142,11 @@ msgstr ""
3140
3142
3141
3143
#: ../../c-api/typeobj.rst:1913
3142
3144
msgid "This field is never inherited."
3143
- msgstr ""
3145
+ msgstr "このフィールドは決して継承されません。 "
3144
3146
3145
3147
#: ../../c-api/typeobj.rst:1915
3146
3148
msgid "(the field exists since 3.8 but it's only used since 3.9)"
3147
- msgstr ""
3149
+ msgstr "(このフィールドは3.8から存在しませんが、3.9以降でしか利用できません) "
3148
3150
3149
3151
#: ../../c-api/typeobj.rst:1918
3150
3152
msgid ""
@@ -3590,7 +3592,7 @@ msgstr ""
3590
3592
3591
3593
#: ../../c-api/typeobj.rst:2343
3592
3594
msgid "Slot Type typedefs"
3593
- msgstr ""
3595
+ msgstr "Slot Type typedefs "
3594
3596
3595
3597
#: ../../c-api/typeobj.rst:2347
3596
3598
msgid ""
@@ -3619,64 +3621,66 @@ msgid ""
3619
3621
"allocate additional memory; that should be done by "
3620
3622
":c:member:`~PyTypeObject.tp_new`."
3621
3623
msgstr ""
3624
+ "この関数では他のいかなるインスタンス初期化も行ってはなりません。追加のメモリ割り当てすらも行ってはなりません。そのような処理は "
3625
+ ":c:member:`~PyTypeObject.tp_new` で行われるべきです。"
3622
3626
3623
3627
#: ../../c-api/typeobj.rst:2364
3624
3628
msgid "See :c:member:`~PyTypeObject.tp_free`."
3625
- msgstr ""
3629
+ msgstr ":c:member:`~PyTypeObject.tp_free` を参照してください。 "
3626
3630
3627
3631
#: ../../c-api/typeobj.rst:2368
3628
3632
msgid "See :c:member:`~PyTypeObject.tp_new`."
3629
- msgstr ""
3633
+ msgstr ":c:member:`~PyTypeObject.tp_new` を参照してください。 "
3630
3634
3631
3635
#: ../../c-api/typeobj.rst:2372
3632
3636
msgid "See :c:member:`~PyTypeObject.tp_init`."
3633
- msgstr ""
3637
+ msgstr ":c:member:`~PyTypeObject.tp_init` を参照してください。 "
3634
3638
3635
3639
#: ../../c-api/typeobj.rst:2376
3636
3640
msgid "See :c:member:`~PyTypeObject.tp_repr`."
3637
- msgstr ""
3641
+ msgstr ":c:member:`~PyTypeObject.tp_repr` を参照してください。 "
3638
3642
3639
3643
#: ../../c-api/typeobj.rst:2380 ../../c-api/typeobj.rst:2389
3640
3644
msgid "Return the value of the named attribute for the object."
3641
- msgstr ""
3645
+ msgstr "オブジェクトの属性の値を返します。 "
3642
3646
3643
3647
#: ../../c-api/typeobj.rst:2384 ../../c-api/typeobj.rst:2395
3644
3648
msgid ""
3645
3649
"Set the value of the named attribute for the object. The value argument is "
3646
3650
"set to ``NULL`` to delete the attribute."
3647
- msgstr ""
3651
+ msgstr "オブジェクトの属性に値を設定します。属性を削除するには、 value (実) 引数に ``NULL`` を設定します。 "
3648
3652
3649
3653
#: ../../c-api/typeobj.rst:2391
3650
3654
msgid "See :c:member:`~PyTypeObject.tp_getattro`."
3651
- msgstr ""
3655
+ msgstr ":c:member:`~PyTypeObject.tp_getattro` を参照してください。 "
3652
3656
3653
3657
#: ../../c-api/typeobj.rst:2398
3654
3658
msgid "See :c:member:`~PyTypeObject.tp_setattro`."
3655
- msgstr ""
3659
+ msgstr ":c:member:`~PyTypeObject.tp_setattro` を参照してください。 "
3656
3660
3657
3661
#: ../../c-api/typeobj.rst:2402
3658
3662
msgid "See :c:member:`~PyTypeObject.tp_descrget`."
3659
- msgstr ""
3663
+ msgstr ":c:member:`~PyTypeObject.tp_descrget` を参照してください。 "
3660
3664
3661
3665
#: ../../c-api/typeobj.rst:2406
3662
3666
msgid "See :c:member:`~PyTypeObject.tp_descrset`."
3663
- msgstr ""
3667
+ msgstr ":c:member:`~PyTypeObject.tp_descrset` を参照してください。 "
3664
3668
3665
3669
#: ../../c-api/typeobj.rst:2410
3666
3670
msgid "See :c:member:`~PyTypeObject.tp_hash`."
3667
- msgstr ""
3671
+ msgstr ":c:member:`~PyTypeObject.tp_hash` を参照してください。 "
3668
3672
3669
3673
#: ../../c-api/typeobj.rst:2414
3670
3674
msgid "See :c:member:`~PyTypeObject.tp_richcompare`."
3671
- msgstr ""
3675
+ msgstr ":c:member:`~PyTypeObject.tp_richcompare` を参照してください。 "
3672
3676
3673
3677
#: ../../c-api/typeobj.rst:2418
3674
3678
msgid "See :c:member:`~PyTypeObject.tp_iter`."
3675
- msgstr ""
3679
+ msgstr ":c:member:`~PyTypeObject.tp_iter` を参照してください。 "
3676
3680
3677
3681
#: ../../c-api/typeobj.rst:2422
3678
3682
msgid "See :c:member:`~PyTypeObject.tp_iternext`."
3679
- msgstr ""
3683
+ msgstr ":c:member:`~PyTypeObject.tp_iternext` を参照してください。 "
3680
3684
3681
3685
#: ../../c-api/typeobj.rst:2448
3682
3686
msgid "Examples"
@@ -3689,31 +3693,34 @@ msgid ""
3689
3693
"more examples, practical info, and a tutorial, see :ref:`defining-new-types`"
3690
3694
" and :ref:`new-types-topics`."
3691
3695
msgstr ""
3696
+ "ここでは Python "
3697
+ "の型定義の簡単な例をいくつか挙げます。これらの例にはあなたが遭遇する共通的な利用例を含んでいます。いくつかの例ではトリッキーなコーナーケースを実演しています。より多くの例や実践的な情報、チュートリアルが必要なら、:ref"
3698
+ ":`defining-new-types` や :ref:`new-types-topics` を参照してください。"
3692
3699
3693
3700
#: ../../c-api/typeobj.rst:2455
3694
3701
msgid "A basic static type::"
3695
- msgstr ""
3702
+ msgstr "基本的な静的型:: "
3696
3703
3697
3704
#: ../../c-api/typeobj.rst:2472
3698
3705
msgid ""
3699
3706
"You may also find older code (especially in the CPython code base) with a "
3700
3707
"more verbose initializer::"
3701
- msgstr ""
3708
+ msgstr "より冗長な初期化子を用いた古いコードを(特にCPythonのコードベース中で)見かけることがあるかもしれません:: "
3702
3709
3703
3710
#: ../../c-api/typeobj.rst:2516
3704
3711
msgid "A type that supports weakrefs, instance dicts, and hashing::"
3705
- msgstr ""
3712
+ msgstr "弱参照やインスタンス辞書、ハッシュをサポートする型:: "
3706
3713
3707
3714
#: ../../c-api/typeobj.rst:2543
3708
3715
msgid ""
3709
3716
"A str subclass that cannot be subclassed and cannot be called to create "
3710
3717
"instances (e.g. uses a separate factory func)::"
3711
- msgstr ""
3718
+ msgstr "サブクラス化を許可せず、インスタンスを生成するのに呼び出せない(つまり、別のファクトリー関数を呼び出す必要のある)str のサブクラス:: "
3712
3719
3713
3720
#: ../../c-api/typeobj.rst:2562
3714
3721
msgid "The simplest static type (with fixed-length instances)::"
3715
- msgstr ""
3722
+ msgstr "もっとも単純な静的型(固定長のインスタンス):: "
3716
3723
3717
3724
#: ../../c-api/typeobj.rst:2573
3718
3725
msgid "The simplest static type (with variable-length instances)::"
3719
- msgstr ""
3726
+ msgstr "もっとも単純な静的型(可変長インスタンス):: "
0 commit comments