@@ -11,7 +11,7 @@ msgid ""
11
11
msgstr ""
12
12
"Project-Id-Version : Python 3.8\n "
13
13
"Report-Msgid-Bugs-To : \n "
14
- "POT-Creation-Date : 2021-01-01 16:06 +0000\n "
14
+ "POT-Creation-Date : 2021-04-28 17:14 +0000\n "
15
15
"PO-Revision-Date : 2020-05-30 11:48+0000\n "
16
16
"Last-Translator : tomo, 2020\n "
17
17
"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -163,14 +163,10 @@ msgstr "コンテキスト変数の関数:"
163
163
#: ../../c-api/contextvars.rst:114
164
164
msgid ""
165
165
"Create a new ``ContextVar`` object. The *name* parameter is used for "
166
- "introspection and debug purposes. The *def* parameter may optionally "
167
- "specify the default value for the context variable. If an error has "
166
+ "introspection and debug purposes. The *def* parameter specifies a default "
167
+ "value for the context variable, or ``NULL`` for no default. If an error has "
168
168
"occurred, this function returns ``NULL``."
169
169
msgstr ""
170
- "新しい ``ContextVar`` オブジェクトを作成します。\n"
171
- "*name* 引数は内部走査とデバッグの目的で使われます。\n"
172
- "*def* 引数はコンテキスト変数の値を指定しますが、オプションです。\n"
173
- "エラーが起きた場合は、関数は ``NULL`` を返します。"
174
170
175
171
#: ../../c-api/contextvars.rst:121
176
172
msgid ""
@@ -202,19 +198,16 @@ msgid "``NULL``"
202
198
msgstr "``NULL``"
203
199
204
200
#: ../../c-api/contextvars.rst:132
205
- msgid ""
206
- "If the value was found, the function will create a new reference to it."
207
- msgstr "値が見付かった場合、この関数はその値への新しい参照を作成します。"
201
+ msgid "Except for ``NULL``, the function returns a new reference."
202
+ msgstr ""
208
203
209
204
#: ../../c-api/contextvars.rst:136
210
205
msgid ""
211
- "Set the value of *var* to *value* in the current context. Returns a pointer "
212
- " to a :c:type:`PyObject` object , or ``NULL`` if an error has occurred."
206
+ "Set the value of *var* to *value* in the current context. Returns a new "
207
+ "token object for this change , or ``NULL`` if an error has occurred."
213
208
msgstr ""
214
- "現在のコンテキストにおいて、 *var* の値に *value* を設定します。\n"
215
- ":c:type:`PyObject` オブジェクトへのポインタ、もしくはエラーが起きた場合は ``NULL`` を返します。"
216
209
217
- #: ../../c-api/contextvars.rst:142
210
+ #: ../../c-api/contextvars.rst:141
218
211
msgid ""
219
212
"Reset the state of the *var* context variable to that it was in before "
220
213
":c:func:`PyContextVar_Set` that returned the *token* was called. This "
0 commit comments