Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4262d0a commit a9993b4Copy full SHA for a9993b4
1 file changed
library/profile.po
@@ -372,12 +372,14 @@ msgid ""
372
" example, if the timer returns times measured in thousands of seconds, the "
373
"time unit would be ``.001``."
374
msgstr ""
375
+"可以通过 *timer* 参数提供一个自定义计时器来测量代码运行花费了多长时间。 它必须是一个返回代表当前时间的单个数字的函数。 如果该数字为整数,则 "
376
+"*timeunit* 指定一个表示每个时间单位持续时间的乘数。 例如,如果定时器返回以千秒为计量单位的时间值,则时间单位将为 ``.001``。"
377
378
#: ../../library/profile.rst:253
379
msgid ""
380
"Directly using the :class:`Profile` class allows formatting profile results "
381
"without writing the profile data to a file::"
-msgstr ""
382
+msgstr "直接使用 :class:`Profile` 类将允许格式化性能分析结果而无需将性能分析数据写入到文件::"
383
384
#: ../../library/profile.rst:268
385
0 commit comments