1
1
# SOME DESCRIPTIVE TITLE.
2
- # Copyright (C) 2001-2021 , Python Software Foundation
2
+ # Copyright (C) 2001-2024 , Python Software Foundation
3
3
# This file is distributed under the same license as the Python package.
4
4
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
5
#
6
6
# Translators:
7
- # Shengjing Zhu <zsj950618@gmail.com>, 2020
8
- # dannyvi <dannyvis@icloud.com>, 2020
9
7
# 叶浚安 <ye.pandaaaa906@gmail.com>, 2020
10
8
# TX Lee <litmxs@gmail.com>, 2020
11
9
# walkinrain <walkinrain2008@outlook.com>, 2020
12
10
# ppcfish <ppcfish@gmail.com>, 2020
13
11
# Arisaka97 <solitaire2312@gmail.com>, 2020
14
- # Freesand Leo <yuqinju@163.com>, 2022
12
+ # Rafael Fontenelle <rffontenelle@gmail.com>, 2023
13
+ # Freesand Leo <yuqinju@163.com>, 2024
15
14
#
16
15
#, fuzzy
17
16
msgid ""
18
17
msgstr ""
19
18
"Project-Id-Version : Python 3.8\n "
20
19
"Report-Msgid-Bugs-To : \n "
21
- "POT-Creation-Date : 2021-02-25 16:37 +0000\n "
20
+ "POT-Creation-Date : 2024-05-11 21:06 +0000\n "
22
21
"PO-Revision-Date : 2020-05-30 12:11+0000\n "
23
- "Last-Translator : Freesand Leo <yuqinju@163.com>, 2022 \n "
24
- "Language-Team : Chinese (China) (https://www .transifex.com/python-doc/teams/5390/zh_CN/)\n "
22
+ "Last-Translator : Freesand Leo <yuqinju@163.com>, 2024 \n "
23
+ "Language-Team : Chinese (China) (https://app .transifex.com/python-doc/teams/5390/zh_CN/)\n "
25
24
"MIME-Version : 1.0\n "
26
25
"Content-Type : text/plain; charset=UTF-8\n "
27
26
"Content-Transfer-Encoding : 8bit\n "
@@ -324,7 +323,7 @@ msgid ""
324
323
"override the :meth:`~Thread.__init__` and :meth:`~Thread.run` methods of "
325
324
"this class."
326
325
msgstr ""
327
- " :class:`Thread` 类代表在独立控制线程运行的活动。有两种方式指定活动:传递一个可调用对象给构造函数或者在子类重载 "
326
+ ":class:`Thread` 类代表在独立控制线程运行的活动。有两种方式指定活动:传递一个可调用对象给构造函数或者在子类重载 "
328
327
":meth:`~Thread.run` 方法。其它方法不应该在子类被(除了构造函数)重载。换句话说,*只能* 重载这个类的 "
329
328
":meth:`~Thread.__init__` 和 :meth:`~Thread.run` 方法。"
330
329
@@ -379,8 +378,8 @@ msgid ""
379
378
"can be set through the :attr:`~Thread.daemon` property or the *daemon* "
380
379
"constructor argument."
381
380
msgstr ""
382
- "一个线程可以被标记成一个“守护线程”。 这个标志的意义是 ,当剩下的线程都是守护线程时,整个 Python 程序将会退出。 初始值继承于创建线程。 "
383
- "这个标志可以通过 :attr:`~Thread.daemon` 特征属性或者 *daemon* 构造器参数来设置。"
381
+ "一个线程可以被标记成一个“守护线程”。 这个标识的意义是 ,当剩下的线程都是守护线程时,整个 Python 程序将会退出。 初始值继承于创建线程。 "
382
+ "这个标识可以通过 :attr:`~Thread.daemon` 特征属性或者 *daemon* 构造器参数来设置。"
384
383
385
384
#: ../../library/threading.rst:252
386
385
msgid ""
@@ -756,7 +755,7 @@ msgstr "当锁被锁定,将它重置为未锁定,并返回。如果其他线
756
755
757
756
#: ../../library/threading.rst:488
758
757
msgid "When invoked on an unlocked lock, a :exc:`RuntimeError` is raised."
759
- msgstr "在未锁定的锁调用时 ,会引发 :exc:`RuntimeError` 异常 。"
758
+ msgstr "当在未锁定的锁上发起调用时 ,会引发 :exc:`RuntimeError`。"
760
759
761
760
#: ../../library/threading.rst:490 ../../library/threading.rst:571
762
761
msgid "There is no return value."
@@ -894,7 +893,7 @@ msgid ""
894
893
":meth:`~Condition.release` methods also call the corresponding methods of "
895
894
"the associated lock."
896
895
msgstr ""
897
- "条件变量服从 :ref:`上下文管理协议 <with-locks>`:使用 ``with`` 语句会在它包围的代码块内获取关联的锁。 "
896
+ "条件变量遵循 :ref:`上下文管理协议 <with-locks>` :使用 ``with`` 语句会在它包围的代码块内获取关联的锁。 "
898
897
":meth:`~Condition.acquire` 和 :meth:`~Condition.release` 方法也能调用关联锁的相关方法。"
899
898
900
899
#: ../../library/threading.rst:590
@@ -1054,7 +1053,7 @@ msgstr "返回 ``True`` ,除非提供的 *timeout* 过期,这种情况下返
1054
1053
1055
1054
#: ../../library/threading.rst:692 ../../library/threading.rst:904
1056
1055
msgid "Previously, the method always returned ``None``."
1057
- msgstr "很明显 ,方法总是返回 ``None``。"
1056
+ msgstr "在此之前 ,方法总是返回 ``None``。"
1058
1057
1059
1058
#: ../../library/threading.rst:697
1060
1059
msgid ""
@@ -1188,7 +1187,7 @@ msgstr "获取一个信号量。"
1188
1187
1189
1188
#: ../../library/threading.rst:782
1190
1189
msgid "When invoked without arguments:"
1191
- msgstr "在不带参数的情况下调用时: "
1190
+ msgstr "在不带参数的情况下调用时:"
1192
1191
1193
1192
#: ../../library/threading.rst:784
1194
1193
msgid ""
@@ -1286,8 +1285,8 @@ msgid ""
1286
1285
":meth:`~Event.set` method and reset to false with the :meth:`~Event.clear` "
1287
1286
"method. The :meth:`~Event.wait` method blocks until the flag is true."
1288
1287
msgstr ""
1289
- "一个事件对象管理一个内部标志 ,调用 :meth:`~Event.set` 方法可将其设置为true ,调用 :meth:`~Event.clear` "
1290
- "方法可将其设置为false ,调用 :meth:`~Event.wait` 方法将进入阻塞直到标志为true 。"
1288
+ "一个事件对象管理一个内部标识 ,调用 :meth:`~Event.set` 方法可将其设置为 true ,调用 :meth:`~Event.clear`"
1289
+ " 方法可将其设置为 false ,调用 :meth:`~Event.wait` 方法将进入阻塞直到标识为 true 。"
1291
1290
1292
1291
#: ../../library/threading.rst:865
1293
1292
msgid ""
@@ -1296,38 +1295,39 @@ msgid ""
1296
1295
":meth:`clear` method. The :meth:`wait` method blocks until the flag is "
1297
1296
"true. The flag is initially false."
1298
1297
msgstr ""
1299
- "实现事件对象的类。事件对象管理一个内部标志 ,调用 :meth:`~Event.set` 方法可将其设置为true。调用 "
1300
- ":meth:`~Event.clear` 方法可将其设置为false 。调用 :meth:`~Event.wait` "
1301
- "方法将进入阻塞直到标志为true。这个标志初始时为false 。"
1298
+ "实现事件对象的类。事件对象管理一个内部标识 ,调用 :meth:`~Event.set` 方法可将其设置为true。调用 "
1299
+ ":meth:`~Event.clear` 方法可将其设置为 false 。调用 :meth:`~Event.wait` "
1300
+ "方法将进
A3D4
阻塞直到标识为true。这个标识初始时为 false 。"
1302
1301
1303
1302
#: ../../library/threading.rst:875
1304
1303
msgid "Return ``True`` if and only if the internal flag is true."
1305
- msgstr "当且仅当内部旗标为时返回 ``True``。"
1304
+ msgstr "当且仅当内部标识为 true 时返回 ``True`` 。"
1306
1305
1307
1306
#: ../../library/threading.rst:879
1308
1307
msgid ""
1309
1308
"Set the internal flag to true. All threads waiting for it to become true are"
1310
1309
" awakened. Threads that call :meth:`wait` once the flag is true will not "
1311
1310
"block at all."
1312
- msgstr "将内部标志设置为true。所有正在等待这个事件的线程将被唤醒。当标志为true时,调用 :meth:`wait` 方法的线程不会被被阻塞。"
1311
+ msgstr ""
1312
+ "将内部标识设置为 true 。所有正在等待这个事件的线程将被唤醒。当标识为 true 时,调用 :meth:`wait` 方法的线程不会被被阻塞。"
1313
1313
1314
1314
#: ../../library/threading.rst:885
1315
1315
msgid ""
1316
1316
"Reset the internal flag to false. Subsequently, threads calling :meth:`wait`"
1317
1317
" will block until :meth:`.set` is called to set the internal flag to true "
1318
1318
"again."
1319
1319
msgstr ""
1320
- "将内部标志设置为false 。之后调用 :meth:`wait` 方法的线程将会被阻塞,直到调用 :meth:`.set` "
1321
- "方法将内部标志再次设置为true 。"
1320
+ "将内部标识设置为 false 。之后调用 :meth:`wait` 方法的线程将会被阻塞,直到调用 :meth:`.set` 方法将内部标识再次设置为 "
1321
+ "true 。"
1322
1322
1323
1323
#: ../../library/threading.rst:891
1324
1324
msgid ""
1325
1325
"Block until the internal flag is true. If the internal flag is true on "
1326
1326
"entry, return immediately. Otherw
9F0E
ise, block until another thread calls "
1327
1327
":meth:`.set` to set the flag to true, or until the optional timeout occurs."
1328
1328
msgstr ""
1329
- "阻塞线程直到内部变量为true。如果调用时内部标志为true ,将立即返回。否则将阻塞线程,直到调用 :meth:`.set` "
1330
- "方法将标志设置为true或者发生可选的超时 。"
1329
+ "阻塞线程直到内部变量为 true 。如果调用时内部标识为 true ,将立即返回。否则将阻塞线程,直到调用 :meth:`.set` 方法将标识设置为 "
1330
+ "true 或者发生可选的超时 。"
1331
1331
1332
1332
#: ../../library/threading.rst:895
1333
1333
msgid ""
@@ -1373,7 +1373,7 @@ msgstr ""
1373
1373
1374
1374
#: ../../library/threading.rst:923
1375
1375
msgid "For example::"
1376
- msgstr "例如 :: "
1376
+ msgstr "例如: "
1377
1377
1378
1378
#: ../../library/threading.rst:934
1379
1379
msgid ""
0 commit comments