Skip to content

Commit ed77ee2

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

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

library/tracemalloc.po

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ msgid ""
7373
":envvar:`PYTHONTRACEMALLOC` environment variable to ``25``, or use the "
7474
":option:`-X` ``tracemalloc=25`` command line option."
7575
msgstr ""
76+
"在默认情况下,一个已分配内存块的追踪将只储存最新的帧 (1 帧)。 要要启动时储存 25 帧:将 :envvar:`PYTHONTRACEMALLOC`"
77+
" 环境变量设为 ``25``,或使用 :option:`-X` ``tracemalloc=25`` 命令行选项。"
7678

7779
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/tracemalloc.rst:34
7880
msgid "Examples"
@@ -97,6 +99,8 @@ msgid ""
9799
"from modules and that the :mod:`collections` module allocated ``244 KiB`` to"
98100
" build :class:`~collections.namedtuple` types."
99101
msgstr ""
102+
"我们可以看到 Python 从模块载入了 ``4855 KiB`` 数据(字节码和常量)并且 :mod:`collections` 模块分配了 "
103+
"``244 KiB`` 来构建 :class:`~collections.namedtuple` 类型。"
100104

101105
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/tracemalloc.rst:73
102106
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/tracemalloc.rst:250
@@ -114,7 +118,7 @@ msgstr "获取两个快照并显示差异:"
114118
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/tracemalloc.rst:95
115119
msgid ""
116120
"Example of output before/after running some tests of the Python test suite::"
117-
msgstr ""
121+
msgstr "运行 Python 测试套件的部分测试之前/之后的输出样例::"
118122

119123
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/tracemalloc.rst:109
120124
msgid ""
@@ -124,6 +128,9 @@ msgid ""
124128
":mod:`linecache` module has cached ``940 KiB`` of Python source code to "
125129
"format tracebacks, all of it since the previous snapshot."
126130
msgstr ""
131+
"我们可以看到 Python 已载入了 ``8173 KiB`` 模块数据(字节码和常量),并且这比测试之前,即保存前一个快照时载入的数据多出了 "
132+
"``4428 KiB``。 类似地, :mod:`linecache` 模块已缓存 ``940 KiB`` 的 Python "
133+
"源代码至格式回溯中,即从前一个快照开始的所有数据。"
127134

128135
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/tracemalloc.rst:115
129136
msgid ""

0 commit comments

Comments
 (0)