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

Skip to content

Commit 70b2d36

Browse files
[po] auto sync
1 parent 7c3132b commit 70b2d36

10 files changed

Lines changed: 723 additions & 722 deletions

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "92.65%", "updated_at": "2023-12-29T13:55:46Z"}
1+
{"translation": "92.60%", "updated_at": "2023-12-29T14:55:38Z"}

c-api/bytes.po

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ msgid ""
1818
msgstr ""
1919
"Project-Id-Version: Python 3.12\n"
2020
"Report-Msgid-Bugs-To: \n"
21-
"POT-Creation-Date: 2023-08-11 14:13+0000\n"
21+
"POT-Creation-Date: 2023-12-29 14:13+0000\n"
2222
"PO-Revision-Date: 2021-06-28 00:47+0000\n"
2323
"Last-Translator: Freesand Leo <[email protected]>, 2023\n"
2424
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -296,10 +296,10 @@ msgstr "类似于 :c:func:`PyBytes_AsString`,但是不带错误检测。"
296296
#: ../../c-api/bytes.rst:156
297297
msgid ""
298298
"Return the null-terminated contents of the object *obj* through the output "
299-
"variables *buffer* and *length*."
300-
msgstr "通过输出变量 *buffer* 和 *length* 返回以 null 为终止符的对象 *obj* 的内容。"
299+
"variables *buffer* and *length*. Returns ``0`` on success."
300+
msgstr ""
301301

302-
#: ../../c-api/bytes.rst:159
302+
#: ../../c-api/bytes.rst:160
303303
msgid ""
304304
"If *length* is ``NULL``, the bytes object may not contain embedded null "
305305
"bytes; if it does, the function returns ``-1`` and a :exc:`ValueError` is "
@@ -308,7 +308,7 @@ msgstr ""
308308
"如果 *length* 为 ``NULL``,字节串对象就不包含嵌入的空字节;如果包含,则该函数将返回 ``-1`` 并引发 "
309309
":exc:`ValueError`。"
310310

311-
#: ../../c-api/bytes.rst:163
311+
#: ../../c-api/bytes.rst:164
312312
msgid ""
313313
"The buffer refers to an internal buffer of *obj*, which includes an "
314314
"additional null byte at the end (not counted in *length*). The data must "
@@ -322,13 +322,13 @@ msgstr ""
322322
"根本不是一个字节串对象,则 :c:func:`PyBytes_AsStringAndSize` 将返回 ``-1`` 并引发 "
323323
":exc:`TypeError`。"
324324

325-
#: ../../c-api/bytes.rst:170
325+
#: ../../c-api/bytes.rst:171
326326
msgid ""
327327
"Previously, :exc:`TypeError` was raised when embedded null bytes were "
328328
"encountered in the bytes object."
329329
msgstr "以前,当字节串对象中出现嵌入的空字节时将引发 :exc:`TypeError`。"
330330

331-
#: ../../c-api/bytes.rst:177
331+
#: ../../c-api/bytes.rst:178
332332
msgid ""
333333
"Create a new bytes object in *\\*bytes* containing the contents of *newpart*"
334334
" appended to *bytes*; the caller will own the new reference. The reference "
@@ -341,7 +341,7 @@ msgstr ""
341341
"*bytes* 原值的引用将被收回。 如果无法创建新对象,对 *bytes* 的旧引用仍将被丢弃且 *\\*bytes* 的值将被设为 "
342342
"``NULL``;并将设置适当的异常。"
343343

344-
#: ../../c-api/bytes.rst:186
344+
#: ../../c-api/bytes.rst:187
345345
msgid ""
346346
"Create a new bytes object in *\\*bytes* containing the contents of *newpart*"
347347
" appended to *bytes*. This version releases the :term:`strong reference` to"
@@ -350,7 +350,7 @@ msgstr ""
350350
"在 *\\*bytes* 中创建一个新的字节串对象,其中包含添加到 *bytes* 的 *newpart* 的内容。 此版本将释放对 *newpart*"
351351
" 的 :term:`strong reference` (即递减其引用计数)。"
352352

353-
#: ../../c-api/bytes.rst:193
353+
#: ../../c-api/bytes.rst:194
354354
msgid ""
355355
"A way to resize a bytes object even though it is \"immutable\". Only use "
356356
"this to build up a brand new bytes object; don't use this if the bytes may "

howto/isolating-extensions.po

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ msgid ""
1414
msgstr ""
1515
"Project-Id-Version: Python 3.12\n"
1616
"Report-Msgid-Bugs-To: \n"
17-
"POT-Creation-Date: 2023-11-17 14:14+0000\n"
17+
"POT-Creation-Date: 2023-12-29 14:13+0000\n"
1818
"PO-Revision-Date: 2022-11-05 19:48+0000\n"
1919
"Last-Translator: Freesand Leo <[email protected]>, 2023\n"
2020
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -511,10 +511,8 @@ msgstr "具有 :c:macro:`Py_TPFLAGS_HAVE_GC` 旗标。"
511511
#: ../../howto/isolating-extensions.rst:339
512512
msgid ""
513513
"Define a traverse function using ``Py_tp_traverse``, which visits the type "
514-
"(e.g. using :c:expr:`Py_VISIT(Py_TYPE(self))`)."
514+
"(e.g. using ``Py_VISIT(Py_TYPE(self))``)."
515515
msgstr ""
516-
"定义一个使用 ``Py_tp_traverse`` 的遍历函数,它将访问该类型 (例如使用 "
517-
":c:expr:`Py_VISIT(Py_TYPE(self))`)。"
518516

519517
#: ../../howto/isolating-extensions.rst:342
520518
msgid ""
@@ -712,12 +710,10 @@ msgstr "最大的障碍是获取 *方法定义所在的类*,简称为方法“
712710

713711
#: ../../howto/isolating-extensions.rst:485
714712
msgid ""
715-
"Do not confuse the defining class with :c:expr:`Py_TYPE(self)`. If the "
716-
"method is called on a *subclass* of your type, ``Py_TYPE(self)`` will refer "
717-
"to that subclass, which may be defined in different module than yours."
713+
"Do not confuse the defining class with ``Py_TYPE(self)``. If the method is "
714+
"called on a *subclass* of your type, ``Py_TYPE(self)`` will refer to that "
715+
"subclass, which may be defined in different module than yours."
718716
msgstr ""
719-
"不要混淆定义的类和 :c:expr:`Py_TYPE(self)`。 如果方法是在你的类型的一个 *子类* 上被调用的,则 "
720-
"``Py_TYPE(self)`` 将指向该子类,它可能是在另一个模块中定义的。"
721717

722718
#: ../../howto/isolating-extensions.rst:490
723719
msgid ""

library/bisect.po

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ msgid ""
1414
msgstr ""
1515
"Project-Id-Version: Python 3.12\n"
1616
"Report-Msgid-Bugs-To: \n"
17-
"POT-Creation-Date: 2023-07-28 14:13+0000\n"
17+
"POT-Creation-Date: 2023-12-29 14:13+0000\n"
1818
"PO-Revision-Date: 2021-06-28 00:56+0000\n"
1919
"Last-Translator: Freesand Leo <[email protected]>, 2023\n"
2020
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -46,14 +46,11 @@ msgid ""
4646
"The module is called :mod:`bisect` because it uses a basic bisection "
4747
"algorithm to do its work. Unlike other bisection tools that search for a "
4848
"specific value, the functions in this module are designed to locate an "
49-
"insertion point. Accordingly, the functions never call an :meth:`__eq__` "
50-
"method to determine whether a value has been found. Instead, the functions "
51-
"only call the :meth:`__lt__` method and will return an insertion point "
52-
"between values in an array."
49+
"insertion point. Accordingly, the functions never call an "
50+
":meth:`~object.__eq__` method to determine whether a value has been found. "
51+
"Instead, the functions only call the :meth:`~object.__lt__` method and will "
52+
"return an insertion point between values in an array."
5353
msgstr ""
54-
"本模块被命名为 :mod:`bisect` 是因为它使用了基本的二分算法。 不同于其他搜索特定值的二分算法工具,本模块中的函数被设计为定位插入点。 "
55-
"相应的,这些函数绝不会调用 :meth:`__eq__` 方法来确定是否找到特定值。 相反,这些函数只会调用 :meth:`__lt__` "
56-
"方法并将返回一个数组的值之间的插入点。"
5754

5855
#: ../../library/bisect.rst:29
5956
msgid "The following functions are provided:"
@@ -126,11 +123,9 @@ msgstr "按照已排序顺序将 *x* 插入到 *a* 中。"
126123
#: ../../library/bisect.rst:75
127124
msgid ""
128125
"This function first runs :py:func:`~bisect.bisect_left` to locate an "
129-
"insertion point. Next, it runs the :meth:`insert` method on *a* to insert "
126+
"insertion point. Next, it runs the :meth:`!insert` method on *a* to insert "
130127
"*x* at the appropriate position to maintain sort order."
131128
msgstr ""
132-
"此函数首先会运行 :py:func:`~bisect.bisect_left` 来定位一个插入点。 然后,它会在 *a* 上运行 "
133-
":meth:`insert` 方法在适当的位置插入 *x* 以保持排序顺序。"
134129

135130
#: ../../library/bisect.rst:79 ../../library/bisect.rst:99
136131
msgid ""
@@ -153,11 +148,9 @@ msgstr "类似于 :py:func:`~bisect.insort_left`,但是会把 *x* 插入到 *a
153148
#: ../../library/bisect.rst:95
154149
msgid ""
155150
"This function first runs :py:func:`~bisect.bisect_right` to locate an "
156-
"insertion point. Next, it runs the :meth:`insert` method on *a* to insert "
151+
"insertion point. Next, it runs the :meth:`!insert` method on *a* to insert "
157152
"*x* at the appropriate position to maintain sort order."
158153
msgstr ""
159-
"此函数首先会运行 :py:func:`~bisect.bisect_right` 来定位一个插入点。 然后,它会在 *a* 上运行 "
160-
":meth:`insert` 方法在适当的位置插入 *x* 以保持排序顺序。"
161154

162155
#: ../../library/bisect.rst:110
163156
msgid "Performance Notes"

0 commit comments

Comments
 (0)