Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0f108a4

Browse files
[po] auto sync
1 parent e796927 commit 0f108a4

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

c-api/buffer.po

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,7 @@ msgstr ""
734734
msgid ""
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
740740
msgid ""
@@ -749,12 +749,15 @@ msgid ""
749749
"one (*order* is ``'A'``). Return ``0`` otherwise. This function always "
750750
"succeeds."
751751
msgstr ""
752+
"如果 *view* 定义的内存是 C 风格(*order* 为 ``'C'``)或 Fortran 风格(*order* 为 ``'F'``) "
753+
":term:`contiguous` 或其中之一(*order* 是 ``'A'``),则返回 ``1``。否则返回 ``0``。该函数总会成功。"
752754

753755
#: ../../c-api/buffer.rst:480
754756
msgid ""
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."
757759
msgstr ""
760+
"获取给定 *view* 内的 *indices* 所指向的内存区域。*indices* 必须指向一个 ``view->ndim`` 索引的数组。"
758761

759762
#: ../../c-api/buffer.rst:486
760763
msgid ""

0 commit comments

Comments
 (0)