8000 Make merge (#894) · python/python-docs-fr@dcd871a · GitHub
[go: up one dir, main page]

Skip to content

Commit dcd871a

Browse files
authored
Make merge (#894)
1 parent 8b86075 commit dcd871a

Some content is hidden

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

81 files changed

+10246
-9021
lines changed

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