|
5 | 5 | msgstr ""
|
6 | 6 | "Project-Id-Version: Python 3\n"
|
7 | 7 | "Report-Msgid-Bugs-To: \n"
|
8 |
| -"POT-Creation-Date: 2020-08-24 09:01+0200\n" |
| 8 | +"POT-Creation-Date: 2021-05-19 22:36+0200\n" |
9 | 9 | "PO-Revision-Date: 2018-08-03 23:47+0200\n"
|
10 | 10 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
11 | 11 | " Language-Team: FRENCH <[email protected]>\n"
|
@@ -124,8 +124,8 @@ msgstr ""
|
124 | 124 | #: c-api/contextvars.rst:109
|
125 | 125 | msgid ""
|
126 | 126 | "Create a new ``ContextVar`` object. The *name* parameter is used for "
|
127 |
| -"introspection and debug purposes. The *def* parameter may optionally " |
128 |
| -"specify the default value for the context variable. If an error has " |
| 127 | +"introspection and debug purposes. The *def* parameter specifies a default " |
| 128 | +"value for the context variable, or ``NULL`` for no default. If an error has " |
129 | 129 | "occurred, this function returns ``NULL``."
|
130 | 130 | msgstr ""
|
131 | 131 |
|
@@ -155,16 +155,16 @@ msgid "``NULL``"
|
155 | 155 | msgstr "``NULL``"
|
156 | 156 |
|
157 | 157 | #: c-api/contextvars.rst:127
|
158 |
| -msgid "If the value was found, the function will create a new reference to it." |
| 158 | +msgid "Except for ``NULL``, the function returns a new reference." |
159 | 159 | msgstr ""
|
160 | 160 |
|
161 | 161 | #: c-api/contextvars.rst:131
|
162 | 162 | msgid ""
|
163 |
| -"Set the value of *var* to *value* in the current context. Returns a pointer " |
164 |
| -"to a :c:type:`PyObject` object, or ``NULL`` if an error has occurred." |
| 163 | +"Set the value of *var* to *value* in the current context. Returns a new " |
| 164 | +"token object for this change, or ``NULL`` if an error has occurred." |
165 | 165 | msgstr ""
|
166 | 166 |
|
167 |
| -#: c-api/contextvars.rst:137 |
| 167 | +#: c-api/contextvars.rst:136 |
168 | 168 | msgid ""
|
169 | 169 | "Reset the state of the *var* context variable to that it was in before :c:"
|
170 | 170 | "func:`PyContextVar_Set` that returned the *token* was called. This function "
|
|
0 commit comments