File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -734,7 +734,7 @@ msgstr ""
734734msgid ""
735735"It is an error to call this function on a buffer that was not obtained via "
736736":c:func:`PyObject_GetBuffer`."
737- msgstr ""
737+ msgstr "若该函数针对的缓冲区不是通过 :c:func:`PyObject_GetBuffer` 获得的,将会出错。 "
738738
739739#: ../../c-api/buffer.rst:467
740740msgid ""
@@ -749,12 +749,15 @@ msgid ""
749749"one (*order* is ``'A'``). Return ``0`` otherwise. This function always "
750750"succeeds."
751751msgstr ""
752+ "如果 *view* 定义的内存是 C 风格(*order* 为 ``'C'``)或 Fortran 风格(*order* 为 ``'F'``) "
753+ ":term:`contiguous` 或其中之一(*order* 是 ``'A'``),则返回 ``1``。否则返回 ``0``。该函数总会成功。"
752754
753755#: ../../c-api/buffer.rst:480
754756msgid ""
755757"Get the memory area pointed to by the *indices* inside the given *view*. "
756758"*indices* must point to an array of ``view->ndim`` indices."
757759msgstr ""
760+ "获取给定 *view* 内的 *indices* 所指向的内存区域。*indices* 必须指向一个 ``view->ndim`` 索引的数组。"
758761
759762#: ../../c-api/buffer.rst:486
760763msgid ""
You can’t perform that action at this time.
0 commit comments