File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -236,17 +236,17 @@ msgstr ""
236
236
msgid ""
237
237
"Get the memory usage in bytes of the :mod:`tracemalloc` module used to store"
238
238
" traces of memory blocks. Return an :class:`int`."
239
- msgstr ""
239
+ msgstr "获取 :mod:`tracemalloc` 模块用于保存内存块追踪所使用的内存字节数。 返回一个 :class:`int`。 "
240
240
241
241
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/tracemalloc.rst:301
242
242
msgid ""
243
243
"``True`` if the :mod:`tracemalloc` module is tracing Python memory "
244
244
"allocations, ``False`` otherwise."
245
- msgstr ""
245
+ msgstr "如果 :mod:`tracemalloc` 模块正在追踪 Python 内存分配则返回 ``True``,否则返回 ``False``。 "
246
246
247
247
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/tracemalloc.rst:304
248
248
msgid "See also :func:`start` and :func:`stop` functions."
249
- msgstr ""
249
+ msgstr "另请参阅 :func:`start` 和 :func:`stop` 函数。 "
250
250
251
251
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/tracemalloc.rst:309
252
252
msgid ""
@@ -255,6 +255,8 @@ msgid ""
255
255
"frames. By default, a trace of a memory block only stores the most recent "
256
256
"frame: the limit is ``1``. *nframe* must be greater or equal to ``1``."
257
257
msgstr ""
258
+ "开始追踪 Python 内存分配:在 Python 内存分配器上安装钩子。 收集的追踪回溯将被限制为 *nframe* 个帧。 "
259
+ "在默认情况下,一个内存块的追踪将只保存最近的帧:即限制为 ``1``。 *nframe* 必须大于等于 ``1``。"
258
260
259
261
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/tracemalloc.rst:314
260
262
msgid ""
You can’t perform that action at this time.
0 commit comments