@@ -24,7 +24,7 @@ msgstr ""
2424
2525#: ../../c-api/method.rst:6
2626msgid "Instance Method Objects"
27- msgstr ""
27+ msgstr "インスタンスメソッドオブジェクト(Instance Method Objects) "
2828
2929#: ../../c-api/method.rst:10
3030msgid ""
@@ -38,89 +38,111 @@ msgid ""
3838"This instance of :c:type:`PyTypeObject` represents the Python instance "
3939"method type. It is not exposed to Python programs."
4040msgstr ""
41+ ":c:type:`PyTypeObject` のインスタンスは Python のインスタンスメソッドの型を表"
42+ "現します。これは Python のプログラムには公開されません。"
4143
4244#: ../../c-api/method.rst:23
4345msgid ""
4446"Return true if *o* is an instance method object (has type :c:data:"
4547"`PyInstanceMethod_Type`). The parameter must not be ``NULL``. This function "
4648"always succeeds."
4749msgstr ""
50+ "*o* がインスタンスメソッドオブジェクト (:c:data:`PyInstanceMethod_Type` 型で"
51+ "ある) 場合に真を返します。パラメータは ``NULL`` にできません。この関数は常に"
52+ "成功します。"
4853
4954#: ../../c-api/method.rst:30
5055msgid ""
5156"Return a new instance method object, with *func* being any callable object. "
5257"*func* is the function that will be called when the instance method is "
5358"called."
5459msgstr ""
60+ "任意の呼び出し可能オブジェクト *func* を使った新たなインスタンスメソッドオブ"
61+ "ジェクトを返します。*func* はインスタンスメソッドが呼び出されたときに呼び出さ"
62+ "れる関数です。"
5563
5664#: ../../c-api/method.rst:37
5765msgid "Return the function object associated with the instance method *im*."
58- msgstr ""
66+ msgstr "インスタンスメソッド *im* に関連付けられた関数オブジェクトを返します。 "
5967
6068#: ../../c-api/method.rst:42
6169msgid ""
6270"Macro version of :c:func:`PyInstanceMethod_Function` which avoids error "
6371"checking."
6472msgstr ""
73+ ":c:func:`PyInstanceMethod_Function` のマクロ版で、エラーチェックを行いませ"
74+ "ん。"
6575
6676#: ../../c-api/method.rst:48
6777msgid "Method Objects"
68- msgstr ""
78+ msgstr "メソッドオブジェクト "
6979
7080#: ../../c-api/method.rst:52
7181msgid ""
7282"Methods are bound function objects. Methods are always bound to an instance "
7383"of a user-defined class. Unbound methods (methods bound to a class object) "
7484"are no longer available."
7585msgstr ""
86+ "メソッドは関数オブジェクトに束縛されています。メソッドは常にあるユーザー定義"
87+ "のクラスに束縛されているのです。束縛されていないメソッド(クラスオブジェクトに"
88+ "束縛されたメソッド)は利用することができません。"
7689
7790#: ../../c-api/method.rst:61
7891msgid ""
7992"This instance of :c:type:`PyTypeObject` represents the Python method type. "
8093"This is exposed to Python programs as ``types.MethodType``."
8194msgstr ""
95+ "この :c:type:`PyTypeObject` のインスタンスは Python のメソッド型を表現しま"
96+ "す。このオブジェクトは、 ``types.MethodType`` として Python プログラムに公開"
97+ "されています。"
8298
8399#: ../../c-api/method.rst:67
84100msgid ""
85101"Return true if *o* is a method object (has type :c:data:`PyMethod_Type`). "
86102"The parameter must not be ``NULL``. This function always succeeds."
87103msgstr ""
104+ "*o* がメソッドオブジェクト (:c:data:`PyMethod_Type` 型である) 場合に真を返し"
105+ "ます。パラメータは ``NULL`` にできません。この関数は常に成功します。"
88106
89107#: ../../c-api/method.rst:73
90108msgid ""
91109"Return a new method object, with *func* being any callable object and *self* "
92110"the instance the method should be bound. *func* is the function that will be "
93111"called when the method is called. *self* must not be ``NULL``."
94112msgstr ""
113+ "任意の呼び出し可能オブジェクト *func* とメソッドが束縛されるべきインスタンス "
114+ "*self* を使った新たなメソッドオブジェクトを返します。\n"
115+ "関数 *func* は、メソッドが呼び出された時に呼び出されるオブジェクトです。\n"
116+ "*self* は ``NULL`` にできません。"
95117
96118#: ../../c-api/method.rst:80
97119msgid "Return the function object associated with the method *meth*."
98- msgstr ""
120+ msgstr "メソッド *meth* に関連付けられている関数オブジェクトを返します。 "
99121
100122#: ../../c-api/method.rst:85
101123msgid ""
102124"Macro version of :c:func:`PyMethod_Function` which avoids error checking."
103- msgstr ""
125+ msgstr ":c:func:`PyMethod_Function` のマクロ版で、エラーチェックを行いません。 "
104126
105127#: ../../c-api/method.rst:90
106128msgid "Return the instance associated with the method *meth*."
107- msgstr ""
129+ msgstr "メソッド *meth* に関連付けられたインスタンスを返します。 "
108130
109131#: ../../c-api/method.rst:95
110132msgid "Macro version of :c:func:`PyMethod_Self` which avoids error checking."
111- msgstr ""
133+ msgstr ":c:func:`PyMethod_Self` のマクロ版で、エラーチェックを行いません。 "
112134
113135#: ../../c-api/method.rst:8 ../../c-api/method.rst:50
114136msgid "object"
115137msgstr "object"
116138
117139#: ../../c-api/method.rst:8
118140msgid "instancemethod"
119- msgstr ""
141+ msgstr "instancemethod "
120142
121143#: ../../c-api/method.rst:50
122144msgid "method"
123- msgstr ""
145+ msgstr "メソッド "
124146
125147#: ../../c-api/method.rst:59
126148msgid "MethodType (in module types)"
0 commit comments