Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dafa30e

Browse files
authored
Make merge (#1639)
Automerge of PR #1639 by @JulienPalard #1636 Closes #1636
1 parent 7ea05b8 commit dafa30e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+6232
-46469
lines changed

c-api/contextvars.po

+7-7
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ msgid ""
55
msgstr ""
66
"Project-Id-Version: Python 3\n"
77
"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"
99
"PO-Revision-Date: 2018-08-03 23:47+0200\n"
1010
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1111
"Language-Team: FRENCH <[email protected]>\n"
@@ -124,8 +124,8 @@ msgstr ""
124124
#: c-api/contextvars.rst:109
125125
msgid ""
126126
"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 "
129129
"occurred, this function returns ``NULL``."
130130
msgstr ""
131131

@@ -155,16 +155,16 @@ msgid "``NULL``"
155155
msgstr "``NULL``"
156156

157157
#: 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."
159159
msgstr ""
160160

161161
#: c-api/contextvars.rst:131
162162
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."
165165
msgstr ""
166166

167-
#: c-api/contextvars.rst:137
167+
#: c-api/contextvars.rst:136
168168
msgid ""
169169
"Reset the state of the *var* context variable to that it was in before :c:"
170170
"func:`PyContextVar_Set` that returned the *token* was called. This function "

0 commit comments

Comments
 (0)