8000 [po] auto sync · python/python-docs-zh-cn@7fd8fdb · GitHub
[go: up one dir, main page]

Skip to content

Commit 7fd8fdb

Browse files
[po] auto sync
1 parent 56c3822 commit 7fd8fdb

File tree

5 files changed

+344
-296
lines changed

5 files changed

+344
-296
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "81.14%", "updated_at": "2025-03-28T16:56:47Z"}
1+
{"translation": "81.15%", "updated_at": "2025-03-29T14:55:32Z"}

howto/perf_profiling.po

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Freesand Leo <yuqinju@163.com>, 2024
7+
# Freesand Leo <yuqinju@163.com>, 2025
88
#
99
#, fuzzy
1010
msgid ""
@@ -13,7 +13,7 @@ msgstr ""
1313
"Report-Msgid-Bugs-To: \n"
1414
"POT-Creation-Date: 2025-03-28 14:18+0000\n"
1515
"PO-Revision-Date: 2023-05-24 13:07+0000\n"
16-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2024\n"
16+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2025\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1818
"MIME-Version: 1.0\n"
1919
"Content-Type: text/plain; charset=UTF-8\n"
@@ -330,6 +330,8 @@ msgid ""
330330
"$ PYTHONPERFSUPPORT=1 perf record -F 9999 -g -o perf.data python my_script.py\n"
331331
"$ perf report -g -i perf.data"
332332
msgstr ""
333+
"$ PYTHONPERFSUPPORT=1 perf record -F 9999 -g -o perf.data python my_script.py\n"
334+
"$ perf report -g -i perf.data"
333335

334 8000 336
#: ../../howto/perf_profiling.rst:168
335337
msgid "Example, using the :option:`!-X` option::"
@@ -340,6 +342,8 @@ msgid ""
340342
"$ perf record -F 9999 -g -o perf.data python -X perf my_script.py\n"
341343
"$ perf report -g -i perf.data"
342344
msgstr ""
345+
"$ perf record -F 9999 -g -o perf.data python -X perf my_script.py\n"
346+
"$ perf report -g -i perf.data"
343347

344348
#: ../../howto/perf_profiling.rst:173
345349
msgid "Example, using the :mod:`sys` APIs in file :file:`example.py`:"
@@ -468,6 +472,9 @@ msgid ""
468472
"$ perf inject -i perf.data --jit --output perf.jit.data\n"
469473
"$ perf report -g -i perf.jit.data"
470474
msgstr ""
475+
"$ perf record -F 9999 -g -k 1 --call-graph dwarf -o perf.data python -Xperf_jit my_script.py\n"
476+
"$ perf inject -i perf.data --jit --output perf.jit.data\n"
477+
"$ perf report -g -i perf.jit.data"
471478

472479
#: ../../howto/perf_profiling.rst:243
473480
msgid "or using the environment variable::"

library/importlib.metadata.po

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -748,6 +748,11 @@ msgid ""
748748
"instance for an installed distribution package by calling the "
749749
":func:`distribution` function::"
750750
msgstr ""
751+
"虽然上面描述的模块级 API 是最常见且便捷的用法,但你也可以从 :class:`!Distribution` 类获取所有信息。 "
752+
":class:`!Distribution` 是一个代表 Python `分发包 "
753+
"<https://packaging.python.org/en/latest/glossary/#term-Distribution-"
754+
"Package>`_ 元数据的抽象对象。 你可以通过调用 :func:`distribution` 函数来获取对应某个已安装分发包的具体 "
755+
":class:`!Distribution` 子类实例::"
751756

752757
#: ../../library/importlib.metadata.rst:428
753758
msgid ""

0 commit comments

Comments
 (0)
0