Skip to content

Commit ea0fad6

Browse files
[po] auto sync
1 parent 2049359 commit ea0fad6

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

library/tracemalloc.po

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -203,30 +203,34 @@ msgid ""
203203
" not tracing memory allocations or did not trace the allocation of the "
204204
"object."
205205
msgstr ""
206+
"获取 Python 对象 *obj* 被分配位置的回溯。 返回一个 :class:`Traceback` 实例,或者如果 "
207+
":mod:`tracemalloc` 模块未追踪任何内存分配或未追踪该对象的分配则返回 ``None``。"
206208

207209
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/tracemalloc.rst:273
208210
msgid "See also :func:`gc.get_referrers` and :func:`sys.getsizeof` functions."
209-
msgstr ""
211+
msgstr "另请参阅 :func:`gc.get_referrers` 和 :func:`sys.getsizeof` 函数。"
210212

211213
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/tracemalloc.rst:278
212214
msgid "Get the maximum number of frames stored in the traceback of a trace."
213-
msgstr ""
215+
msgstr "获取保存在一个追踪的回溯中的最大帧数。"
214216

215217
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/tracemalloc.rst:280
216218
msgid ""
217219
"The :mod:`tracemalloc` module must be tracing memory allocations to get the "
218220
"limit, otherwise an exception is raised."
219-
msgstr ""
221+
msgstr ":mod:`tracemalloc` 模块必须正在追踪内存分配才能获得该限制值,否则将引发异常。"
220222

221223
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/tracemalloc.rst:283
222224
msgid "The limit is set by the :func:`start` function."
223-
msgstr ""
225+
msgstr "该限制是由 :func:`start` 函数设置的。"
224226

225227
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/tracemalloc.rst:288
226228
msgid ""
227229
"Get the current size and peak size of memory blocks traced by the "
228230
":mod:`tracemalloc` module as a tuple: ``(current: int, peak: int)``."
229231
msgstr ""
232+
"获取一个元组形式的由 :mod:`tracemalloc` 模块所追踪的内存块的当前大小和峰值大小: ``(current: int, peak: "
233+
"int)``。"
230234

231235
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/tracemalloc.rst:294
232236
msgid ""
@@ -332,7 +336,7 @@ msgstr "域过滤器"
332336

333337
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/tracemalloc.rst:365
334338
msgid "Filter traces of memory blocks by their address space (domain)."
335-
msgstr ""
339+
msgstr "按地址空间(域)来过滤内存块的追踪。"
336340

337341
#: /home/runner/work/docspush-transifex/docspush-transifex/cpython/Doc/library/tracemalloc.rst:371
338342
msgid ""

0 commit comments

Comments
 (0)