99# Pan Felix <[email protected] >, 201910101111# ppcfish <[email protected] >, 201912+ # zeroswan <[email protected] >, 20221213#
1314#, fuzzy
1415msgid ""
@@ -17,7 +18,7 @@ msgstr ""
1718"Report-Msgid-Bugs-To : \n "
1819"POT-Creation-Date : 2021-01-01 16:02+0000\n "
1920"PO-Revision-Date : 2019-09-01 03:25+0000\n "
20- "Last-Translator : ppcfish <ppcfish@gmail .com>, 2019 \n "
21+ "Last-Translator : zeroswan <zeroswan@outlook .com>, 2022 \n "
2122"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
2223"MIME-Version : 1.0\n "
2324"Content-Type : text/plain; charset=UTF-8\n "
@@ -37,21 +38,21 @@ msgstr "**源代码:** :source:`Lib/tracemalloc.py`"
3738msgid ""
3839"The tracemalloc module is a debug tool to trace memory blocks allocated by "
3940"Python. It provides the following information:"
40- msgstr ""
41+ msgstr "tracemalloc 模块是一个用于对 python 已申请的内存块进行debug的工具。它能提供以下信息: "
4142
4243#: ../../library/tracemalloc.rst:16
4344msgid "Traceback where an object was allocated"
44- msgstr ""
45+ msgstr "定位对象分配内存的位置 "
4546
4647#: ../../library/tracemalloc.rst:17
4748msgid ""
4849"Statistics on allocated memory blocks per filename and per line number: "
4950"total size, number and average size of allocated memory blocks"
50- msgstr ""
51+ msgstr "按文件、按行统计python的内存块分配情况: 总大小、块的数量以及块平均大小。 "
5152
5253#: ../../library/tracemalloc.rst:19
5354msgid "Compute the differences between two snapshots to detect memory leaks"
54- msgstr ""
55+ msgstr "对比两个内存快照的差异,以便排查内存泄漏 "
5556
5657#: ../../library/tracemalloc.rst:21
5758msgid ""
@@ -95,7 +96,7 @@ msgstr ""
9596
9697#: ../../library/tracemalloc.rst:73 ../../library/tracemalloc.rst:250
9798msgid "See :meth:`Snapshot.statistics` for more options."
98- msgstr ""
99+ msgstr "更多选项,请参见 :meth:`Snapshot.statistics` "
99100
100101#: ../../library/tracemalloc.rst:77
101102msgid "Compute differences"
@@ -128,17 +129,17 @@ msgstr ""
128129
129130#: ../../library/tracemalloc.rst:121
130131msgid "Get the traceback of a memory block"
131- msgstr ""
132+ msgstr "获取一个内存块的溯源 "
132133
133134#: ../../library/tracemalloc.rst:123
134135msgid "Code to display the traceback of the biggest memory block::"
135- msgstr ""
136+ msgstr "一段找出程序中最大内存块溯源的代码:: "
136137
137138#: ../../library/tracemalloc.rst:141
138139msgid ""
139140"Example of output of the Python test suite (traceback limited to 25 "
140141"frames)::"
141- msgstr ""
142+ msgstr "一段Python单元测试的输出案例(限制最大25层堆栈) "
142143
143144#: ../../library/tracemalloc.rst:178
144145msgid ""
@@ -173,7 +174,7 @@ msgstr ""
173174
174175#: ../../library/tracemalloc.rst:263
175176msgid "See also :func:`stop`."
176- msgstr ""
177+ msgstr "另见 :func:`stop`. "
177178
178179#: ../../library/tracemalloc.rst:268
179180msgid ""
0 commit comments