8000 Merge branch '3.8' into 3.8 · python/python-docs-fr@322910f · GitHub
[go: up one dir, main page]

Skip to content

Commit 322910f

Browse files
authored
Merge branch '3.8' into 3.8
2 parents 05a1c85 + dcd871a commit 322910f

Some content is hidden

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

83 files changed

+10547
-9040
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ rapidement des problèmes dans d'autres langues.
230230
Nous l'avons donc désactivée.
231231

232232
Les *smartquotes* sont également responsables de la transformation de
233-
``--`` en *en-dash* (``-``), de ``-----`` en *em-dash* (````), et de
233+
``--`` en *en-dash* (````), de ``---`` en *em-dash* (````), et de
234234
``...`` en ````.
235235

236236
Comme nous n'avons pas de *smartquotes*, nous devrons également « traduire »

c-api/buffer.po

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ msgid ""
55
msgstr ""
66
"Project-Id-Version: Python 3.6\n"
77
"Report-Msgid-Bugs-To: \n"
8-
"POT-Creation-Date: 2019-09-04 11:33+0200\n"
8+
"POT-Creation-Date: 2019-10-09 17:54+0200\n"
99
"PO-Revision-Date: 2018-10-04 12:18+0200\n"
1010
"Last-Translator: \n"
1111
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@@ -676,44 +676,51 @@ msgstr ""
676676

677677
#: ../Doc/c-api/buffer.rst:486
678678
msgid ""
679+
"Copy contiguous *len* bytes from *buf* to *view*. *fort* can be ``'C'`` or "
680+
"``'F'`` (for C-style or Fortran-style ordering). ``0`` is returned on "
681+
"success, ``-1`` on error."
682+
msgstr ""
683+
684+
#: ../Doc/c-api/buffer.rst:493
685+
msgid ""
679686
"Copy *len* bytes from *src* to its contiguous representation in *buf*. "
680-
"*order* can be ``'C'`` or ``'F'`` (for C-style or Fortran-style ordering). "
681-
"``0`` is returned on success, ``-1`` on error."
687+
"*order* can be ``'C'`` or ``'F'`` or ``'A'`` (for C-style or Fortran-style "
688+
"ordering or either one). ``0`` is returned on success, ``-1`` on error."
682689
msgstr ""
683690

684-
#: ../Doc/c-api/buffer.rst:490
691+
#: ../Doc/c-api/buffer.rst:497
685692
msgid "This function fails if *len* != *src->len*."
686693
msgstr ""
687694

688-
#: ../Doc/c-api/buffer.rst:495
695+
#: ../Doc/c-api/buffer.rst:502
689696
msgid ""
690697
"Fill the *strides* array with byte-strides of a :term:`contiguous` (C-style "
691698
"if *order* is ``'C'`` or Fortran-style if *order* is ``'F'``) array of the "
692699
"given shape with the given number of bytes per element."
693700
msgstr ""
694701

695-
#: ../Doc/c-api/buffer.rst:502
702+
#: ../Doc/c-api/buffer.rst:509
696703
msgid ""
697704
"Handle buffer requests for an exporter that wants to expose *buf* of size "
698705
"*len* with writability set according to *readonly*. *buf* is interpreted as "
699706
"a sequence of unsigned bytes."
700707
msgstr ""
701708

702-
#: ../Doc/c-api/buffer.rst:506
709+
#: ../Doc/c-api/buffer.rst:513
703710
msgid ""
704711
"The *flags* argument indicates the request type. This function always fills "
705712
"in *view* as specified by flags, unless *buf* has been designated as read-"
706713
"only and :c:macro:`PyBUF_WRITABLE` is set in *flags*."
707714
msgstr ""
708715

709-
#: ../Doc/c-api/buffer.rst:510
716+
#: ../Doc/c-api/buffer.rst:517
710717
msgid ""
711718
"On success, set :c:member:`view->obj` to a new reference to *exporter* and "
712719
"return 0. Otherwise, raise :c:data:`PyExc_BufferError`, set :c:member:`view-"
713720
">obj` to *NULL* and return ``-1``;"
714721
msgstr ""
715722

716-
#: ../Doc/c-api/buffer.rst:514
723+
#: ../Doc/c-api/buffer.rst:521
717724
msgid ""
718725
"If this function is used as part of a :ref:`getbufferproc <buffer-structs>`, "
719726
"*exporter* MUST be set to the exporting object and *flags* must be passed "

0 commit comments

Comments
 (0)
0