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

Skip to content

Commit 0ea79a4

Browse files
[po] auto sync
1 parent 207e97c commit 0ea79a4

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

c-api/structures.po

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -627,28 +627,28 @@ msgstr "setter"
627627
msgid ""
628628
"optional C function to set or delete the attribute, if omitted the attribute"
629629
" is readonly"
630-
msgstr ""
630+
msgstr "用于设置或删除属性的可选 C 函数,如果省略则属性将为只读"
631631

632632
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:355
633633
msgid "doc"
634-
msgstr ""
634+
msgstr "doc"
635635

636636
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:355
637637
msgid "optional docstring"
638-
msgstr ""
638+
msgstr "可选的文档字符串"
639639

640640
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:357
641641
msgid "closure"
642-
msgstr ""
642+
msgstr "closure"
643643

644644
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:357
645645
msgid "void \\*"
646-
msgstr ""
646+
msgstr "void \\*"
647647

648648
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:357
649649
msgid ""
650650
"optional function pointer, providing additional data for getter and setter"
651-
msgstr ""
651+
msgstr "可选的函数指针,为 getter 和 setter 提供附加数据"
652652

653653
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:362
654654
msgid ""
@@ -660,7 +660,7 @@ msgstr ""
660660
msgid ""
661661
"It should return a new reference on success or ``NULL`` with a set exception"
662662
" on failure."
663-
msgstr ""
663+
msgstr "它应当在成功时返回一个新的引用或在失败时返回 ``NULL`` 并设置异常。"
664664

665665
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:370
666666
msgid ""
@@ -673,4 +673,4 @@ msgstr ""
673673
msgid ""
674674
"In case the attribute should be deleted the second parameter is ``NULL``. "
675675
"Should return ``0`` on success or ``-1`` with a set exception on failure."
676-
msgstr ""
676+
msgstr "对于属性要被删除的情况第二个形参应为 ``NULL``。 成功时应返回 ``0`` 或在失败时返回 ``-1`` 并设置异常。"

library/tracemalloc.po

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ msgid ""
6262
"command line option. The :func:`tracemalloc.start` function can be called at"
6363
" runtime to start tracing Python memory allocations."
6464
msgstr ""
65+
"要追踪 Python 所分配的大部分内存块,模块应当通过将 :envvar:`PYTHONTRACEMALLOC` 环境变量设置为 "
66+
"``1``,或是通过使用 :option:`-X` ``tracemalloc`` 命令行选项来尽可能早地启动。 可以在运行时调用 "
67+
":func:`tracemalloc.start` 函数来启动追踪 Python 内存分配。memory allocations."
6568

6669
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/tracemalloc.rst:27
6770
msgid ""

0 commit comments

Comments
 (0)