Skip to content

Commit 6812fd4

Browse files
sync with cpython fa69ec89
1 parent 57e9fd6 commit 6812fd4

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

library/threading.po

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.10\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2021-10-26 16:47+0000\n"
10+
"POT-Creation-Date: 2022-03-05 00:12+0000\n"
1111
"PO-Revision-Date: 2018-05-23 16:12+0000\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -551,12 +551,12 @@ msgstr ""
551551

552552
#: ../../library/threading.rst:431
553553
msgid ""
554-
"A boolean value indicating whether this thread is a daemon thread (True) or "
555-
"not (False). This must be set before :meth:`~Thread.start` is called, "
556-
"otherwise :exc:`RuntimeError` is raised. Its initial value is inherited "
557-
"from the creating thread; the main thread is not a daemon thread and "
558-
"therefore all threads created in the main thread default to :attr:`~Thread."
559-
"daemon` = ``False``."
554+
"A boolean value indicating whether this thread is a daemon thread (``True``) "
555+
"or not (``False``). This must be set before :meth:`~Thread.start` is "
556+
"called, otherwise :exc:`RuntimeError` is raised. Its initial value is "
557+
"inherited from the creating thread; the main thread is not a daemon thread "
558+
"and therefore all threads created in the main thread default to :attr:"
559+
"`~Thread.daemon` = ``False``."
560560
msgstr ""
561561

562562
#: ../../library/threading.rst:438
@@ -649,7 +649,7 @@ msgid ""
649649
"value, block for at most the number of seconds specified by *timeout* and as "
650650
"long as the lock cannot be acquired. A *timeout* argument of ``-1`` "
651651
"specifies an unbounded wait. It is forbidden to specify a *timeout* when "
652-
"*blocking* is false."
652+
"*blocking* is ``False``."
653653
msgstr ""
654654

655655
#: ../../library/threading.rst:508
@@ -691,7 +691,7 @@ msgid "There is no return value."
691691
msgstr ""
692692

693693
#: ../../library/threading.rst:534
694-
msgid "Return true if the lock is acquired."
694+
msgid "Return ``True`` if the lock is acquired."
695695
msgstr ""
696696

697697
#: ../../library/threading.rst:541
@@ -752,14 +752,14 @@ msgstr ""
752752

753753
#: ../../library/threading.rst:583
754754
msgid ""
755-
"When invoked with the *blocking* argument set to true, do the same thing as "
756-
"when called without arguments, and return ``True``."
755+
"When invoked with the *blocking* argument set to ``True``, do the same thing "
756+
"as when called without arguments, and return ``True``."
757757
msgstr ""
758758

759759
#: ../../library/threading.rst:586
760760
msgid ""
761-
"When invoked with the *blocking* argument set to false, do not block. If a "
762-
"call without an argument would block, return ``False`` immediately; "
761+
"When invoked with the *blocking* argument set to ``False``, do not block. "
762+
"If a call without an argument would block, return ``False`` immediately; "
763763
"otherwise, do the same thing as when called without arguments, and return "
764764
"``True``."
765765
msgstr ""
@@ -769,7 +769,7 @@ msgid ""
769769
"When invoked with the floating-point *timeout* argument set to a positive "
770770
"value, block for at most the number of seconds specified by *timeout* and as "
771771
"long as the lock cannot be acquired. Return ``True`` if the lock has been "
772-
"acquired, false if the timeout has elapsed."
772+
"acquired, ``False`` if the timeout has elapsed."
773773
msgstr ""
774774

775775
#: ../../library/threading.rst:601
@@ -1072,9 +1072,9 @@ msgstr ""
10721072

10731073
#: ../../library/threading.rst:834
10741074
msgid ""
1075-
"When invoked with *blocking* set to false, do not block. If a call without "
1076-
"an argument would block, return ``False`` immediately; otherwise, do the "
1077-
"same thing as when called without arguments, and return ``True``."
1075+
"When invoked with *blocking* set to ``False``, do not block. If a call "
1076+
"without an argument would block, return ``False`` immediately; otherwise, do "
1077+
"the same thing as when called without arguments, and return ``True``."
10781078
msgstr ""
10791079

10801080
#: ../../library/threading.rst:838

0 commit comments

Comments
 (0)