@@ -24,7 +24,7 @@ msgstr ""
24
24
25
25
#: ../../c-api/method.rst:6
26
26
msgid "Instance Method Objects"
27
- msgstr ""
27
+ msgstr "インスタンスメソッドオブジェクト(Instance Method Objects) "
28
28
29
29
#: ../../c-api/method.rst:10
30
30
msgid ""
@@ -38,89 +38,111 @@ msgid ""
38
38
"This instance of :c:type:`PyTypeObject` represents the Python instance "
39
39
"method type. It is not exposed to Python programs."
40
40
msgstr ""
41
+ ":c:type:`PyTypeObject` のインスタンスは Python のインスタンスメソッドの型を表"
42
+ "現します。これは Python のプログラムには公開されません。"
41
43
42
44
#: ../../c-api/method.rst:23
43
45
msgid ""
44
46
"Return true if *o* is an instance method object (has type :c:data:"
45
47
"`PyInstanceMethod_Type`). The parameter must not be ``NULL``. This function "
46
48
"always succeeds."
47
49
msgstr ""
50
+ "*o* がインスタンスメソッドオブジェクト (:c:data:`PyInstanceMethod_Type` 型で"
51
+ "ある) 場合に真を返します。パラメータは ``NULL`` にできません。この関数は常に"
52
+ "成功します。"
48
53
49
54
#: ../../c-api/method.rst:30
50
55
msgid ""
51
56
"Return a new instance method object, with *func* being any callable object. "
52
57
"*func* is the function that will be called when the instance method is "
53
58
"called."
54
59
msgstr ""
60
+ "任意の呼び出し可能オブジェクト *func* を使った新たなインスタンスメソッドオブ"
61
+ "ジェクトを返します。*func* はインスタンスメソッドが呼び出されたときに呼び出さ"
62
+ "れる関数です。"
55
63
56
64
#: ../../c-api/method.rst:37
57
65
msgid "Return the function object associated with the instance method *im*."
58
- msgstr ""
66
+ msgstr "インスタンスメソッド *im* に関連付けられた関数オブジェクトを返します。 "
59
67
60
68
#: ../../c-api/method.rst:42
61
69
msgid ""
62
70
"Macro version of :c:func:`PyInstanceMethod_Function` which avoids error "
63
71
"checking."
64
72
msgstr ""
73
+ ":c:func:`PyInstanceMethod_Function` のマクロ版で、エラーチェックを行いませ"
74
+ "ん。"
65
75
66
76
#: ../../c-api/method.rst:48
67
77
msgid "Method Objects"
68
- msgstr ""
78
+ msgstr "メソッドオブジェクト "
69
79
70
80
#: ../../c-api/method.rst:52
71
81
msgid ""
72
82
"Methods are bound function objects. Methods are always bound to an instance "
73
83
"of a user-defined class. Unbound methods (methods bound to a class object) "
74
84
"are no longer available."
75
85
msgstr ""
86
+ "メソッドは関数オブジェクトに束縛されています。メソッドは常にあるユーザー定義"
87
+ "のクラスに束縛されているのです。束縛されていないメソッド(クラスオブジェクトに"
88
+ "束縛されたメソッド)は利用することができません。"
76
89
77
90
#: ../../c-api/method.rst:61
78
91
msgid ""
79
92
"This instance of :c:type:`PyTypeObject` represents the Python method type. "
80
93
"This is exposed to Python programs as ``types.MethodType``."
81
94
msgstr ""
95
+ "この :c:type:`PyTypeObject` のインスタンスは Python のメソッド型を表現しま"
96
+ "す。このオブジェクトは、 ``types.MethodType`` として Python プログラムに公開"
97
+ "されています。"
82
98
83
99
#: ../../c-api/method.rst:67
84
100
msgid ""
85
101
"Return true if *o* is a method object (has type :c:data:`PyMethod_Type`). "
86
102
"The parameter must not be ``NULL``. This function always succeeds."
87
103
msgstr ""
104
+ "*o* がメソッドオブジェクト (:c:data:`PyMethod_Type` 型である) 場合に真を返し"
105
+ "ます。パラメータは ``NULL`` にできません。この関数は常に成功します。"
88
106
89
107
#: ../../c-api/method.rst:73
90
108
msgid ""
91
109
"Return a new method object, with *func* being any callable object and *self* "
92
110
"the instance the method should be bound. *func* is the function that will be "
93
111
"called when the method is called. *self* must not be ``NULL``."
94
112
msgstr ""
113
+ "任意の呼び出し可能オブジェクト *func* とメソッドが束縛されるべきインスタンス "
114
+ "*self* を使った新たなメソッドオブジェクトを返します。\n"
115
+ "関数 *func* は、メソッドが呼び出された時に呼び出されるオブジェクトです。\n"
116
+ "*self* は ``NULL`` にできません。"
95
117
96
118
#: ../../c-api/method.rst:80
97
119
msgid "Return the function object associated with the method *meth*."
98
- msgstr ""
120
+ msgstr "メソッド *meth* に関連付けられている関数オブジェクトを返します。 "
99
121
100
122
#: ../../c-api/method.rst:85
101
123
msgid ""
102
124
"Macro version of :c:func:`PyMethod_Function` which avoids error checking."
103
- msgstr ""
125
+ msgstr ":c:func:`PyMethod_Function` のマクロ版で、エラーチェックを行いません。 "
104
126
105
127
#: ../../c-api/method.rst:90
106
128
msgid "Return the instance associated with the method *meth*."
107
- msgstr ""
129
+ msgstr "メソッド *meth* に関連付けられたインスタンスを返します。 "
108
130
109
131
#: ../../c-api/method.rst:95
110
132
msgid "Macro version of :c:func:`PyMethod_Self` which avoids error checking."
111
- msgstr ""
133
+ msgstr ":c:func:`PyMethod_Self` のマクロ版で、エラーチェックを行いません。 "
112
134
113
135
#: ../../c-api/method.rst:8 ../../c-api/method.rst:50
114
136
msgid "object"
115
137
msgstr "object"
116
138
117
139
#: ../../c-api/method.rst:8
118
140
msgid "instancemethod"
119
- msgstr ""
141
+ msgstr "instancemethod "
120
142
121
143
#: ../../c-api/method.rst:50
122
144
msgid "method"
123
- msgstr ""
145
+ msgstr "メソッド "
124
146
125
147
#: ../../c-api/method.rst:59
126
148
msgid "MethodType (in module types)"
0 commit comments