@@ -19,7 +19,7 @@ msgid ""
1919msgstr ""
2020"Project-Id-Version : Python 3.8\n "
2121"Report-Msgid-Bugs-To : \n "
22- "POT-Creation-Date : 2019-09-01 14:24 +0000\n "
22+ "POT-Creation-Date : 2019-09-12 11:28 +0000\n "
2323"PO-Revision-Date : 2017-02-16 17:33+0000\n "
2424"
Last-Translator :
Vegetables <[email protected] >, 2019\n "
2525"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -673,44 +673,51 @@ msgstr ""
673673
674674#: ../../c-api/buffer.rst:486
675675msgid ""
676+ "Copy contiguous *len* bytes from *buf* to *view*. *fort* can be ``'C'`` or "
677+ "``'F'`` (for C-style or Fortran-style ordering). ``0`` is returned on "
678+ "success, ``-1`` on error."
679+ msgstr ""
680+
681+ #: ../../c-api/buffer.rst:493
682+ msgid ""
676683"Copy *len* bytes from *src* to its contiguous representation in *buf*. "
677- "*order* can be ``'C'`` or ``'F'`` (for C-style or Fortran-style ordering). "
678- "``0`` is returned on success, ``-1`` on error."
684+ "*order* can be ``'C'`` or ``'F'`` or ``'A'`` (for C-style or Fortran-style "
685+ "ordering or either one). ``0`` is returned on success, ``-1`` on error."
679686msgstr ""
680687
681- #: ../../c-api/buffer.rst:490
688+ #: ../../c-api/buffer.rst:497
682689msgid "This function fails if *len* != *src->len*."
683690msgstr ""
684691
685- #: ../../c-api/buffer.rst:495
692+ #: ../../c-api/buffer.rst:502
686693msgid ""
687694"Fill the *strides* array with byte-strides of a :term:`contiguous` (C-style "
688695"if *order* is ``'C'`` or Fortran-style if *order* is ``'F'``) array of the "
689696"given shape with the given number of bytes per element."
690697msgstr ""
691698
692- #: ../../c-api/buffer.rst:502
699+ #: ../../c-api/buffer.rst:509
693700msgid ""
694701"Handle buffer requests for an exporter that wants to expose *buf* of size "
695702"*len* with writability set according to *readonly*. *buf* is interpreted as "
696703"a sequence of unsigned bytes."
697704msgstr ""
698705
699- #: ../../c-api/buffer.rst:506
706+ #: ../../c-api/buffer.rst:513
700707msgid ""
701708"The *flags* argument indicates the request type. This function always fills "
702709"in *view* as specified by flags, unless *buf* has been designated as read-"
703710"only and :c:macro:`PyBUF_WRITABLE` is set in *flags*."
704711msgstr ""
705712
706- #: ../../c-api/buffer.rst:510
713+ #: ../../c-api/buffer.rst:517
707714msgid ""
708715"On success, set :c:member:`view->obj` to a new reference to *exporter* and "
709716"return 0. Otherwise, raise :c:data:`PyExc_BufferError`, set "
710717":c:member:`view->obj` to *NULL* and return ``-1``;"
711718msgstr ""
712719
713- #: ../../c-api/buffer.rst:514
720+ #: ../../c-api/buffer.rst:521
714721msgid ""
715722"If this function is used as part of a :ref:`getbufferproc <buffer-structs>`,"
716723" *exporter* MUST be set to the exporting object and *flags* must be passed "
0 commit comments