Skip to content

Commit c44666b

Browse files
authored
feat: Translate unittest.mock to rst:1828 (#804)
* feat: to rst:1828 * fix: change the translation of "membership test" and fix some rST
1 parent b813391 commit c44666b

File tree

3 files changed

+109
-30
lines changed

3 files changed

+109
-30
lines changed

library/collections.po

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgstr ""
1111
"Project-Id-Version: Python 3.12\n"
1212
"Report-Msgid-Bugs-To: \n"
1313
"POT-Creation-Date: 2023-10-20 00:03+0000\n"
14-
"PO-Revision-Date: 2023-02-18 14:48+0800\n"
14+
"PO-Revision-Date: 2024-01-22 21:42+0800\n"
1515
"Last-Translator: Matt Wang <mattwang44@gmail.com>\n"
1616
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1717
"tw)\n"
@@ -20,7 +20,7 @@ msgstr ""
2020
"Content-Type: text/plain; charset=UTF-8\n"
2121
"Content-Transfer-Encoding: 8bit\n"
2222
"Plural-Forms: nplurals=1; plural=0;\n"
23-
"X-Generator: Poedit 3.2.2\n"
23+
"X-Generator: Poedit 3.4.1\n"
2424

2525
#: ../../library/collections.rst:2
2626
msgid ":mod:`collections` --- Container datatypes"
@@ -789,9 +789,10 @@ msgid ""
789789
"to O(n) in the middle. For fast random access, use lists instead."
790790
msgstr ""
791791
"除了以上使用方式,deque 亦支援了疊代、pickle、``len(d)``、``reversed(d)``、"
792-
"``copy.copy(d)``、``copy.deepcopy(d)``、用 :keyword:`in` 運算子來作成員檢測以"
793-
"及像是 ``d[0]`` 的標號引用來取得第一個元素。在兩端做索引存取的複雜度為 O(1) "
794-
"但越靠近中間則減慢至 O(n)。若想要隨機而快速的存取,使用 list 會較為合適。"
792+
"``copy.copy(d)``、``copy.deepcopy(d)``、用 :keyword:`in` 運算子來作隸屬資格檢"
793+
"測以及像是 ``d[0]`` 的標號引用來取得第一個元素。在兩端做索引存取的複雜度為 "
794+
"O(1) 但越靠近中間則減慢至 O(n)。若想要隨機而快速的存取,使用 list 會較為合"
795+
"適。"
795796

796797
#: ../../library/collections.rst:591
797798
msgid ""

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy