@@ -13,7 +13,7 @@ msgid ""
13
13
msgstr ""
14
14
"Project-Id-Version : Python 3.7\n "
15
15
"Report-Msgid-Bugs-To : \n "
16
- "POT-Creation-Date : 2018-06-30 05:56 +0900\n "
16
+ "POT-Creation-Date : 2018-11-14 09:45 +0900\n "
17
17
"PO-Revision-Date : 2017-02-16 17:35+0000\n "
18
18
"Last-Translator : tomo🐧, 2018\n "
19
19
"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -127,32 +127,36 @@ msgid ""
127
127
"extension modules."
128
128
msgstr ":c:func:`PyObject_GC_Track` のマクロ版です。拡張モジュールに使ってはなりません。"
129
129
130
- #: ../../c-api/gcsupport.rst:69
130
+ #: ../../c-api/gcsupport.rst:69 ../../c-api/gcsupport.rst:101
131
+ msgid "This macro is removed from Python 3.8."
132
+ msgstr ""
133
+
134
+ #: ../../c-api/gcsupport.rst:72
131
135
msgid ""
132
136
"Similarly, the deallocator for the object must conform to a similar pair of "
133
137
"rules:"
134
138
msgstr "同様に、オブジェクトのメモリ解放関数も以下の二つの規則に適合しなければなりません:"
135
139
136
- #: ../../c-api/gcsupport.rst:72
140
+ #: ../../c-api/gcsupport.rst:75
137
141
msgid ""
138
142
"Before fields which refer to other containers are invalidated, "
139
143
":c:func:`PyObject_GC_UnTrack` must be called."
140
144
msgstr ""
141
145
"他のコンテナを参照しているフィールドを無効化する前に、 :c:func:`PyObject_GC_UnTrack` を呼び出さなければなりません。"
142
146
143
- #: ../../c-api/gcsupport.rst:75
147
+ #: ../../c-api/gcsupport.rst:78
144
148
msgid ""
145
149
"The object's memory must be deallocated using :c:func:`PyObject_GC_Del`."
146
150
msgstr "オブジェクトのメモリは :c:func:`PyObject_GC_Del` で解放しなければなりません。"
147
151
148
- #: ../../c-api/gcsupport.rst:80
152
+ #: ../../c-api/gcsupport.rst:83
149
153
msgid ""
150
154
"Releases memory allocated to an object using :c:func:`PyObject_GC_New` or "
151
155
":c:func:`PyObject_GC_NewVar`."
152
156
msgstr ""
153
157
":c:func:`PyObject_GC_New` や :c:func:`PyObject_GC_NewVar` を使って確保されたメモリを解放します。"
154
158
155
- #: ../../c-api/gcsupport.rst:86
159
+ #: ../../c-api/gcsupport.rst:89
156
160
msgid ""
157
161
"Remove the object *op* from the set of container objects tracked by the "
158
162
"collector. Note that :c:func:`PyObject_GC_Track` can be called again on "
@@ -166,19 +170,19 @@ msgstr ""
166
170
":c:member:`~PyTypeObject.tp_traverse` ハンドラの対象となるフィールドが正しくない状態になる前に、デアロケータ "
167
171
"(:c:member:`~PyTypeObject.tp_dealloc` ハンドラ) はオブジェクトに対して、この関数を呼び出すべきです。"
168
172
169
- #: ../../c-api/gcsupport.rst:95
173
+ #: ../../c-api/gcsupport.rst:98
170
174
msgid ""
171
175
"A macro version of :c:func:`PyObject_GC_UnTrack`. It should not be used for"
172
176
" extension modules."
173
177
msgstr ":c:func:`PyObject_GC_UnTrack` のマクロ版です。拡張モジュールに使ってはなりません。"
174
178
175
- #: ../../c-api/gcsupport.rst:98
179
+ #: ../../c-api/gcsupport.rst:104
176
180
msgid ""
177
181
"The :c:member:`~PyTypeObject.tp_traverse` handler accepts a function "
178
182
"parameter of this type:"
179
183
msgstr ":c:member:`~PyTypeObject.tp_traverse` ハンドラはこの型の関数パラメータを受け取ります:"
180
184
181
- #: ../../c-api/gcsupport.rst:103
185
+ #: ../../c-api/gcsupport.rst:109
182
186
msgid ""
183
187
"Type of the visitor function passed to the "
184
188
":c:member:`~PyTypeObject.tp_traverse` handler. The function should be called"
@@ -193,13 +197,13 @@ msgstr ""
193
197
"のコアはいくつかのビジター関数を使って、ゴミとなった循環参照を検出する仕組みを実装します; "
194
198
"ユーザが自身のためにビジター関数を書く必要が出てくることはないでしょう。"
195
199
196
- #: ../../c-api/gcsupport.rst:110
200
+ #: ../../c-api/gcsupport.rst:116
197
201
msgid ""
198
202
"The :c:member:`~PyTypeObject.tp_traverse` handler must have the following "
199
203
"type:"
200
204
msgstr ":c:member:`~PyTypeObject.tp_traverse` ハンドラは次の型を持っていなければなりません:"
201
205
202
- #: ../../c-api/gcsupport.rst:115
206
+ #: ../../c-api/gcsupport.rst:121
203
207
msgid ""
204
208
"Traversal function for a container object. Implementations must call the "
205
209
"*visit* function for each object directly contained by *self*, with the "
@@ -214,7 +218,7 @@ msgstr ""
214
218
"オブジェクトを引数に渡して呼び出してはなりません。*visit* "
215
219
"が非ゼロの値を返す場合、エラーが発生し、戻り値をそのまま返すようにしなければなりません。"
216
220
217
- #: ../../c-api/gcsupport.rst:122
221
+ #: ../../c-api/gcsupport.rst:128
218
222
msgid ""
219
223
"To simplify writing :c:member:`~PyTypeObject.tp_traverse` handlers, a "
220
224
":c:func:`Py_VISIT` macro is provided. In order to use this macro, the "
@@ -225,7 +229,7 @@ msgstr ""
225
229
"マクロが提供されています。このマクロを使うためには、 :c:member:`~PyTypeObject.tp_traverse` "
226
230
"の実装関数の引数は、一文字も違わず *visit* と *arg* でなければなりません:"
227
231
228
- #: ../../c-api/gcsupport.rst:129
232
+ #: ../../c-api/gcsupport.rst:135
229
233
msgid ""
230
234
"If *o* is not *NULL*, call the *visit* callback, with arguments *o* and "
231
235
"*arg*. If *visit* returns a non-zero value, then return it. Using this "
@@ -235,15 +239,15 @@ msgstr ""
235
239
"がゼロでない値を返した場合、その値を返します。このマクロを使うと、 :c:member:`~PyTypeObject.tp_traverse` "
236
240
"ハンドラは次のようになります::"
237
241
238
- #: ../../c-api/gcsupport.rst:142
242
+ #: ../../c-api/gcsupport.rst:148
239
243
msgid ""
240
244
"The :c:member:`~PyTypeObject.tp_clear` handler must be of the "
241
245
":c:type:`inquiry` type, or *NULL* if the object is immutable."
242
246
msgstr ""
243
247
":c:member:`~PyTypeObject.tp_clear` ハンドラは :c:type:`inquiry` 型であるか、オブジェクトが不変 "
244
248
"(immutable) な場合は *NULL* でなければなりません。"
245
249
246
- #: ../../c-api/gcsupport.rst:148
250
+ #: ../../c-api/gcsupport.rst:154
247
251
msgid ""
248
252
"Drop references that may have created reference cycles. Immutable objects "
249
253
"do not have to define this method since they can never directly create "
0 commit comments