Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7680356

Browse files
[po] auto sync
1 parent 508b5b6 commit 7680356

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

library/profile.po

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,10 @@ msgid ""
503503
"the same function name), then the statistics for these two entries are "
504504
"accumulated into a single entry."
505505
msgstr ""
506+
"这个用于 :class:`Stats` 类的方法会从文件名中去除所有前导路径信息。 它对于减少打印输出的大小以适应(接近) 80 列限制。 "
507+
"这个方法会修改对象,被去除的信息将会丢失。 在执行去除操作后,可以认为对象拥有的条目将使用“随机”顺序,就像它刚在对象初始化并加载之后一样。 如果 "
508+
":meth:`~pstats.Stats.strip_dirs` "
509+
"导致两个函数名变得无法区分(它们位于相同文件名的相同行,并且具有相同的函数名),那么这两个条目的统计数据将被累积到单个条目中。"
506510

507511
#: ../../library/profile.rst:369
508512
msgid ""
@@ -513,6 +517,9 @@ msgid ""
513517
"name) functions are automatically accumulated into single function "
514518
"statistics."
515519
msgstr ""
520+
":class:`Stats` 类的这个方法会将额外的性能分析信息累积到当前的性能分析对象中。 它的参数应当指向由相应版本的 "
521+
":func:`profile.run` 或 :func:`cProfile.run` 所创建的文件名。 相同名称(包括 file, line, "
522+
"name)函数的统计信息会自动累积到单个函数的统计信息。"
516523

517524
#: ../../library/profile.rst:379
518525
msgid ""

0 commit comments

Comments
 (0)