@@ -535,7 +535,7 @@ msgstr ""
535535#: ../../library/threading.rst:359
536536msgid ""
537537"Locks also support the :ref:`context management protocol <with-locks>`."
538- msgstr "锁同样支持 :ref:`context management protocol <with-locks>`。"
538+ msgstr "锁同样支持 :ref:`上下文管理协议 <with-locks>`。"
539539
540540#: ../../library/threading.rst:361
541541msgid ""
@@ -545,7 +545,7 @@ msgid ""
545545"waiting threads proceeds is not defined, and may vary across "
546546"implementations."
547547msgstr ""
548- "当多个线程在 :meth:`~Lock.acquire` 等待状态转变为未锁定被阻塞,然后 :meth:`~Lock.release` "
548+ "当多个线程在 :meth:`~Lock.acquire` 等待状态转变为未锁定被阻塞,然后 :meth:`~Lock.release` "
549549"重置状态为未锁定时,只有一个线程能继续执行;至于哪个等待线程继续执行没有定义,并且会根据实现而不同。"
550550
551551#: ../../library/threading.rst:366
@@ -582,8 +582,8 @@ msgid ""
582582" a call with *blocking* set to ``True`` would block, return ``False`` "
583583"immediately; otherwise, set the lock to locked and return ``True``."
584584msgstr ""
585- "在参数 *blocking* 被设置为 ``False`` 的情况下调用,将不会发生阻塞。如果调用时 *blocking* 设为 ``True`` "
586- "会阻塞,并立即返回 ``False`` ;否则,将锁锁定并返回 ``True``。"
585+ "在参数 *blocking* 被设置为 ``False`` 的情况下调用,将不会发生阻塞。如果调用时 *blocking* 设为 ``True`` "
586+ "会阻塞,并立即返回 ``False`` ;否则,将锁锁定并返回 ``True``。"
587587
588588#: ../../library/threading.rst:391
589589msgid ""
@@ -598,7 +598,7 @@ msgstr ""
598598msgid ""
599599"The return value is ``True`` if the lock is acquired successfully, ``False``"
600600" if not (for example if the *timeout* expired)."
601- msgstr "如果成功获得锁,则返回 ``True``,否则返回 ``False``( 例如发生 *超时* ) "
601+ msgstr "如果成功获得锁,则返回 ``True``,否则返回 ``False`` ( 例如发生 *超时* 的时候)。 "
602602
603603#: ../../library/threading.rst:400 ../../library/threading.rst:479
604604#: ../../library/threading.rst:724
0 commit comments