File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -627,28 +627,28 @@ msgstr "setter"
627627msgid ""
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
633633msgid "doc"
634- msgstr ""
634+ msgstr "doc "
635635
636636#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:355
637637msgid "optional docstring"
638- msgstr ""
638+ msgstr "可选的文档字符串 "
639639
640640#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:357
641641msgid "closure"
642- msgstr ""
642+ msgstr "closure "
643643
644644#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:357
645645msgid "void \\ *"
646- msgstr ""
646+ msgstr "void \\ * "
647647
648648#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/c-api/structures.rst:357
649649msgid ""
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
654654msgid ""
@@ -660,7 +660,7 @@ msgstr ""
660660msgid ""
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
666666msgid ""
@@ -673,4 +673,4 @@ msgstr ""
673673msgid ""
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`` 并设置异常。 "
Original file line number Diff line number Diff 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."
6464msgstr ""
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
6770msgid ""
You can’t perform that action at this time.
0 commit comments