@@ -19,7 +19,7 @@ msgid ""
1919msgstr ""
2020"Project-Id-Version : Python 3.7\n "
2121"Report-Msgid-Bugs-To : \n "
22- "POT-Creation-Date : 2019-07-18 02:57 +0000\n "
22+ "POT-Creation-Date : 2019-08-08 08:00 +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 "
@@ -667,44 +667,50 @@ msgstr ""
667667
668668#: ../../c-api/buffer.rst:480
669669msgid ""
670+ "Get the memory area pointed to by the *indices* inside the given *view*. "
671+ "*indices* must point to an array of ``view->ndim`` indices."
672+ msgstr ""
673+
674+ #: ../../c-api/buffer.rst:486
675+ msgid ""
670676"Copy *len* bytes from *src* to its contiguous representation in *buf*. "
671677"*order* can be ``'C'`` or ``'F'`` (for C-style or Fortran-style ordering). "
672678"``0`` is returned on success, ``-1`` on error."
673679msgstr ""
674680
675- #: ../../c-api/buffer.rst:484
681+ #: ../../c-api/buffer.rst:490
676682msgid "This function fails if *len* != *src->len*."
677683msgstr ""
678684
679- #: ../../c-api/buffer.rst:489
685+ #: ../../c-api/buffer.rst:495
680686msgid ""
681687"Fill the *strides* array with byte-strides of a :term:`contiguous` (C-style "
682688"if *order* is ``'C'`` or Fortran-style if *order* is ``'F'``) array of the "
683689"given shape with the given number of bytes per element."
684690msgstr ""
685691
686- #: ../../c-api/buffer.rst:496
692+ #: ../../c-api/buffer.rst:502
687693msgid ""
688694"Handle buffer requests for an exporter that wants to expose *buf* of size "
689695"*len* with writability set according to *readonly*. *buf* is interpreted as "
690696"a sequence of unsigned bytes."
691697msgstr ""
692698
693- #: ../../c-api/buffer.rst:500
699+ #: ../../c-api/buffer.rst:506
694700msgid ""
695701"The *flags* argument indicates the request type. This function always fills "
696702"in *view* as specified by flags, unless *buf* has been designated as read-"
697703"only and :c:macro:`PyBUF_WRITABLE` is set in *flags*."
698704msgstr ""
699705
700- #: ../../c-api/buffer.rst:504
706+ #: ../../c-api/buffer.rst:510
701707msgid ""
702708"On success, set :c:member:`view->obj` to a new reference to *exporter* and "
703709"return 0. Otherwise, raise :c:data:`PyExc_BufferError`, set "
704710":c:member:`view->obj` to *NULL* and return ``-1``;"
705711msgstr ""
706712
707- #: ../../c-api/buffer.rst:508
713+ #: ../../c-api/buffer.rst:514
708714msgid ""
709715"If this function is used as part of a :ref:`getbufferproc <buffer-structs>`,"
710716" *exporter* MUST be set to the exporting object and *flags* must be passed "
0 commit comments