Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7f06f79

Browse files
sync with cpython 54bbb5e3
1 parent509d876 commit7f06f79

File tree

1 file changed

+13
-14
lines changed

1 file changed

+13
-14
lines changed

‎library/queue.po

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ msgid ""
1010
msgstr ""
1111
"Project-Id-Version:Python 3.10\n"
1212
"Report-Msgid-Bugs-To:\n"
13-
"POT-Creation-Date:2022-04-15 00:13+0000\n"
13+
"POT-Creation-Date:2022-10-01 07:08+0000\n"
1414
"PO-Revision-Date:2022-09-27 00:12+0800\n"
1515
"Last-Translator:Allen Wu <allen91.wu@gmail.com>\n"
1616
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -344,19 +344,6 @@ msgstr ""
344344
"像是分配記憶體失敗)。可選的 args *block* 和 *timeout* 會被忽略,它們僅是為了"
345345
"與 :meth:`Queue.put` 相容才存在。"
346346

347-
#:../../library/queue.rst:243
348-
msgid""
349-
"This method has a C implementation which is reentrant. That is, a ``put()`` "
350-
"or ``get()`` call can be interrupted by another ``put()`` call in the same "
351-
"thread without deadlocking or corrupting internal state inside the queue. "
352-
"This makes it appropriate for use in destructors such as ``__del__`` methods "
353-
"or :mod:`weakref` callbacks."
354-
msgstr""
355-
"此 method 有一個可重入 (reentrant) 的 C 實作。意思就是,一個 ``put()`` 或 "
356-
"``get()`` 呼叫,可以被同一執行緒中的另一個 ``put()`` 呼叫中斷,而不會造成死"
357-
"鎖 (deadlock) 或損壞佇列中的內部狀態。這使得它適合在解構子 (destructor) 中使"
358-
"用,像是 ``__del__`` method 或 :mod:`weakref` 回呼函式 (callback)。"
359-
360347
#:../../library/queue.rst:252
361348
msgid""
362349
"Equivalent to ``put(item, block=False)``, provided for compatibility with :"
@@ -402,3 +389,15 @@ msgstr ""
402389
":class:`collections.deque` 是無界佇列的替代實作,有快速且具原子性 (atomic) "
403390
"的 :meth:`~collections.deque.append` 和 :meth:`~collections.deque.popleft` 操"
404391
"作,這些操作不需要鎖定,並且還支持索引。"
392+
393+
#~ msgid ""
394+
#~ "This method has a C implementation which is reentrant. That is, a "
395+
#~ "``put()`` or ``get()`` call can be interrupted by another ``put()`` call "
396+
#~ "in the same thread without deadlocking or corrupting internal state "
397+
#~ "inside the queue. This makes it appropriate for use in destructors such "
398+
#~ "as ``__del__`` methods or :mod:`weakref` callbacks."
399+
#~ msgstr ""
400+
#~ "此 method 有一個可重入 (reentrant) 的 C 實作。意思就是,一個 ``put()`` 或 "
401+
#~ "``get()`` 呼叫,可以被同一執行緒中的另一個 ``put()`` 呼叫中斷,而不會造成"
402+
#~ "死鎖 (deadlock) 或損壞佇列中的內部狀態。這使得它適合在解構子 (destructor) "
403+
#~ "中使用,像是 ``__del__`` method 或 :mod:`weakref` 回呼函式 (callback)。"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp