Skip to content

Commit 187ccf3

Browse files
[po] auto sync
1 parent 5f57c40 commit 187ccf3

File tree

2 files changed

+15
-14
lines changed

2 files changed

+15
-14
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "100.00%", "updated_at": "2025-11-30T06:17:54Z"}
1+
{"translation": "100.00%", "updated_at": "2025-12-01T00:50:57Z"}

library/threading.po

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
#
66
# Translators:
77
# python-doc bot, 2025
8+
# Freesand Leo <yuqinju@163.com>, 2025
89
#
910
#, fuzzy
1011
msgid ""
1112
msgstr ""
1213
"Project-Id-Version: Python 3.14\n"
1314
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-06-27 14:20+0000\n"
15+
"POT-Creation-Date: 2025-11-29 14:13+0000\n"
1516
"PO-Revision-Date: 2025-09-16 00:01+0000\n"
16-
"Last-Translator: python-doc bot, 2025\n"
17+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2025\n"
1718
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1819
"MIME-Version: 1.0\n"
1920
"Content-Type: text/plain; charset=UTF-8\n"
@@ -109,30 +110,30 @@ msgstr ""
109110
"import time\n"
110111
"\n"
111112
"def crawl(link, delay=3):\n"
112-
"print(f\"crawl started for {link}\")\n"
113-
"time.sleep(delay) # 阻塞 I/O (模拟网络请求)\n"
114-
"print(f\"crawl ended for {link}\")\n"
113+
" print(f\"crawl started for {link}\")\n"
114+
" time.sleep(delay) # 阻塞 I/O (模拟网络请求)\n"
115+
" print(f\"crawl ended for {link}\")\n"
115116
"\n"
116117
"links = [\n"
117-
"\"https://python.org\",\n"
118-
"\"https://docs.python.org\",\n"
119-
"\"https://peps.python.org\",\n"
118+
" \"https://python.org\",\n"
119+
" \"https://docs.python.org\",\n"
120+
" \"https://peps.python.org\",\n"
120121
"]\n"
121122
"\n"
122123
"# 针对每个链接启动线程\n"
123124
"threads = []\n"
124125
"for link in links:\n"
125-
"# 使用 `args` 传入位置参数并使用 `kwargs` 传入关键字参数\n"
126-
"t = threading.Thread(target=crawl, args=(link,), kwargs={\"delay\": 2})\n"
127-
"threads.append(t)\n"
126+
" # 使用 `args` 传入位置参数并使用 `kwargs` 传入关键字参数\n"
127+
" t = threading.Thread(target=crawl, args=(link,), kwargs={\"delay\": 2})\n"
128+
" threads.append(t)\n"
128129
"\n"
129130
"# 启动每个线程\n"
130131
"for t in threads:\n"
131-
"t.start()\n"
132+
" t.start()\n"
132133
"\n"
133134
"# 等待所有线程结束\n"
134135
"for t in threads:\n"
135-
"t.join()"
136+
" t.join()"
136137

137138
#: ../../library/threading.rst:60
138139
msgid "This module used to be optional, it is now always available."

0 commit comments

Comments
 (0)