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

Skip to content

Commit 42c9100

Browse files
[po] auto sync
1 parent e4f295a commit 42c9100

3 files changed

Lines changed: 10 additions & 1 deletion

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "92.62%", "updated_at": "2023-12-29T23:56:02Z"}
1+
{"translation": "92.63%", "updated_at": "2023-12-30T11:55:55Z"}

howto/isolating-extensions.po

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,7 @@ msgid ""
513513
"Define a traverse function using ``Py_tp_traverse``, which visits the type "
514514
"(e.g. using ``Py_VISIT(Py_TYPE(self))``)."
515515
msgstr ""
516+
"定义一个使用 ``Py_tp_traverse`` 的遍历函数,它将访问该类型 (例如使用 ``Py_VISIT(Py_TYPE(self))``)。"
516517

517518
#: ../../howto/isolating-extensions.rst:342
518519
msgid ""
@@ -714,6 +715,8 @@ msgid ""
714715
"called on a *subclass* of your type, ``Py_TYPE(self)`` will refer to that "
715716
"subclass, which may be defined in different module than yours."
716717
msgstr ""
718+
"不要混淆定义的类和 ``Py_TYPE(self)``。 如果方法是在你的类型的一个 *子类* 上被调用的,则 ``Py_TYPE(self)`` "
719+
"将指向该子类,它可能是在另一个模块中定义的。"
717720

718721
#: ../../howto/isolating-extensions.rst:490
719722
msgid ""

library/tarfile.po

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,12 @@ msgid ""
295295
" does not allow random access, see :ref:`tar-examples`. The currently "
296296
"possible modes:"
297297
msgstr ""
298+
"针对特殊的目的,还存在第二种 *mode* 格式: ``'filemode|[compression]'``。 :func:`tarfile.open`"
299+
" 将返回一个将其数据作为数据块流来处理的 :class:`TarFile` 对象。 对此文件将不能执行随机查找。 如果给定了 "
300+
"*fileobj*,它可以是任何具有 :meth:`~io.RawIOBase.read` 或 :meth:`~io.RawIOBase.write` "
301+
"方法(由 *mode* 确定)的对象。 *bufsize* 指定块大小,默认为 ``20 * 512`` 字节。 可与此格式组合使用的有 "
302+
"``sys.stdin.buffer``、套接字 :term:`file object` 或磁盘设备等。 但是,这样的 :class:`TarFile`"
303+
" 对象存在不允许随机访问的限制,参见 :ref:`tar-examples`。 当前可用的模式有:"
298304

299305
#: ../../library/tarfile.rst:129
300306
msgid "Mode"

0 commit comments

Comments
 (0)