44#
55# Translators:
66# Leon H., 2017
7+ # Adrian Liaw <adrianliaw2000@gmail.com>, 2018
8+ # Matt Wang <mattwang44@gmail.com>, 2021
79msgid ""
810msgstr ""
911"Project-Id-Version : Python 3.10\n "
1012"Report-Msgid-Bugs-To : \n "
1113"POT-Creation-Date : 2022-05-21 17:35+0000\n "
12- "PO-Revision-Date : 2018-05-23 16:11+0000 \n "
13- "Last-Translator : Adrian Liaw <adrianliaw2000 @gmail.com>\n "
14+ "PO-Revision-Date : 2022-06-12 15:22+0800 \n "
15+ "Last-Translator : Matt Wang <mattwang44 @gmail.com>\n "
1416"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
1517"tw)\n "
1618"Language : zh_TW\n "
1719"MIME-Version : 1.0\n "
1820"Content-Type : text/plain; charset=UTF-8\n "
1921"Content-Transfer-Encoding : 8bit\n "
2022"Plural-Forms : nplurals=1; plural=0;\n "
23+ "X-Generator : Poedit 3.1\n "
2124
2225#: ../../library/stdtypes.rst:8
2326msgid "Built-in Types"
24- msgstr "內建型態 "
27+ msgstr "內建型別 "
2528
2629#: ../../library/stdtypes.rst:10
2730msgid ""
2831"The following sections describe the standard types that are built into the "
2932"interpreter."
30- msgstr ""
33+ msgstr "以下章節描述了直譯器中内建的標準型別。 "
3134
3235#: ../../library/stdtypes.rst:15
3336msgid ""
3437"The principal built-in types are numerics, sequences, mappings, classes, "
3538"instances and exceptions."
36- msgstr ""
39+ msgstr "主要內建型別為數字、序列、映射、class(類別)、實例和例外。 "
3740
3841#: ../../library/stdtypes.rst:18
3942msgid ""
4043"Some collection classes are mutable. The methods that add, subtract, or "
4144"rearrange their members in place, and don't return a specific item, never "
4245"return the collection instance itself but ``None``."
4346msgstr ""
47+ "有些集合類別是 mutable(可變的)。那些用於原地 (in-place) 加入、移除或重新排"
48+ "列其成員且不回傳特定項的 method(方法),也只會回傳 ``None`` 而非集合實例自"
49+ "己。"
4450
4551#: ../../library/stdtypes.rst:22
4652msgid ""
@@ -50,16 +56,21 @@ msgid ""
5056"slightly different :func:`str` function). The latter function is implicitly "
5157"used when an object is written by the :func:`print` function."
5258msgstr ""
59+ "某些操作已被多種物件型別支援;特別是實務上所有物件都已經可以做相等性比較、真"
60+ "值檢測及被轉換為字串(使用 :func:`repr` 函式或稍有差異的 :func:`str` 函式),"
61+ "後者為當物件傳入 :func:`print` 函式印出時在背後被調用的函式。"
5362
5463#: ../../library/stdtypes.rst:32
5564msgid "Truth Value Testing"
56- msgstr ""
65+ msgstr "真值檢測 "
5766
5867#: ../../library/stdtypes.rst:41
5968msgid ""
6069"Any object can be tested for truth value, for use in an :keyword:`if` or :"
6170"keyword:`while` condition or as operand of the Boolean operations below."
6271msgstr ""
72+ "任何物件都可以進行檢測以判斷是否為真值,以便在 :keyword:`if` 或 :keyword:"
73+ "`while` 條件中使用,或是作為如下所述 boolean(布林)運算之運算元所用。"
6374
6475#: ../../library/stdtypes.rst:46
6576msgid ""
@@ -68,22 +79,27 @@ msgid ""
6879"that returns zero, when called with the object. [1]_ Here are most of the "
6980"built-in objects considered false:"
7081msgstr ""
82+ "預設情況下,一個物件會被視為真值,除非它的 class 定義了會回傳 ``False`` 的 :"
83+ "meth:`__bool__` method 或是定義了會回傳零的 :meth:`__len__` method。[1]_ "
84+ "以下列出了大部分會被視為 false 的內建物件:"
7185
7286#: ../../library/stdtypes.rst:55
7387msgid "constants defined to be false: ``None`` and ``False``."
74- msgstr ""
88+ msgstr "定義為 false 之常數:``None`` 與 ``False``。 "
7589
7690#: ../../library/stdtypes.rst:57
7791msgid ""
7892"zero of any numeric type: ``0``, ``0.0``, ``0j``, ``Decimal(0)``, "
7993"``Fraction(0, 1)``"
8094msgstr ""
95+ "任何數值型別的零:``0``、``0.0``、``0j``、``Decimal(0)``、``Fraction(0, 1)``"
8196
8297#: ../../library/stdtypes.rst:60
8398msgid ""
8499"empty sequences and collections: ``''``, ``()``, ``[]``, ``{}``, ``set()``, "
85100"``range(0)``"
86101msgstr ""
102+ "空的序列和集合:``''``、``()``、``[]``、``{}``、``set()``、``range(0)``"
87103
88104#: ../../library/stdtypes.rst:69
89105msgid ""
@@ -92,6 +108,9 @@ msgid ""
92108"otherwise stated. (Important exception: the Boolean operations ``or`` and "
93109"``and`` always return one of their operands.)"
94110msgstr ""
111+ "除非另有特別說明,產生 boolean 結果的操作或內建函式都會回傳 ``0`` 或 "
112+ "``False`` 作為假值、``1`` 或 ``True`` 作為真值。(重要例外: boolean 運算 "
113+ "``or`` 和 ``and`` 回傳的是其中一個運算元。)"
95114
96115#: ../../library/stdtypes.rst:78
97116msgid "Boolean Operations --- :keyword:`!and`, :keyword:`!or`, :keyword:`!not`"
0 commit comments