Skip to content

Commit bc4a821

Browse files
Merge branch '3.9' into library-configparser
2 parents e4b30fa + dafa30e commit bc4a821

Some content is hidden

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

66 files changed

+6917
-46662
lines changed

CONTRIBUTING.rst

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Guide de contribution à la documention via GitHub
2-
=================================================
1+
Guide de contribution à la documentation via GitHub
2+
===================================================
33

44
Instructions
55
------------
@@ -233,6 +233,21 @@ Mettez dans le commentaire de la *pull request* le texte suivant :
233233
« Closes #XXXX » où XXXX est le numéro du ticket GitHub créé pour réserver le fichier traduit.
234234
Cela permet à Github de lier la *pull request* au ticket de réservation.
235235

236+
Il peut arriver que vous ayez besoin de reprendre votre PR sur votre
237+
ordinateur après avoir fait des modifications en ligne sur GitHub,
238+
par exemple lorsque GitHub vous offre la possibilité de faire un commit
239+
automatique contenant les suggestions proposées pendant la revue.
240+
Cela fonctionne bien, mais le résultat n'est pas toujours accepté par
241+
``powrap``. Si cela arrive, vous pouvez récupérer le commit fait par
242+
GitHub puis relancer ``powrap`` :
243+
244+
.. code-block:: bash
245+
246+
git pull
247+
powrap <fichier.po>
248+
git add <fichier.po>
249+
git commit -m "Formatage après commit automatique"
250+
git push
236251
237252
Sur une autre forge
238253
+++++++++++++++++++
@@ -773,4 +788,3 @@ ce qui suit après vous être assuré que ``~/.local/bin/`` se trouve dans votre
773788
774789
Pas d'inquiétude, cela ne change la façon dont Git affiche les changements que sur
775790
les fichiers de la traduction, sans incidence sur les autres.
776-

c-api/contextvars.po

Lines changed: 7 additions & 7 deletions
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 <traductions@lists.afpy.org>\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)