1
- # Copyright (C) 2001-2023, Python Software Foundation
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) 2001-2022, Python Software Foundation
2
3
# This file is distributed under the same license as the Python package.
3
4
#
4
5
# Translators:
5
- # Matt Wang <[email protected] >, 2023
6
6
msgid ""
7
7
msgstr ""
8
8
"Project-Id-Version : Python 3.12\n "
9
9
"Report-Msgid-Bugs-To : \n "
10
10
"POT-Creation-Date : 2023-07-29 00:03+0000\n "
11
11
"PO-Revision-Date : 2015-12-09 17:51+0000\n "
12
- "
Last-Translator :
Matt Wang <[email protected] >\n"
12
+ "
Last-Translator :
Liang-Bo Wang <[email protected] >\n"
13
13
"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
14
14
"tw)\n "
15
15
"Language : zh_TW\n "
@@ -20,7 +20,7 @@ msgstr ""
20
20
21
21
#: ../../c-api/complex.rst:6
22
22
msgid "Complex Number Objects"
23
- msgstr "複數物件 "
23
+ msgstr ""
24
24
25
25
#: ../../c-api/complex.rst:10
26
26
msgid ""
@@ -29,23 +29,17 @@ msgid ""
29
29
"and the other is a C structure which represents the actual complex number "
30
30
"value. The API provides functions for working with both."
31
31
msgstr ""
32
- "從 C API 來看,Python 的複數物件被實作為兩種不同的型別:一種是公開給 Python "
33
- "程式的 Python 物件,另一種是表示實際複數值的 C 結構。API 提供了與兩者一起作用"
34
- "的函式。"
35
32
36
33
#: ../../c-api/complex.rst:17
37
34
msgid "Complex Numbers as C Structures"
38
- msgstr "作為 C 結構的複數 "
35
+ msgstr ""
39
36
40
37
#: ../../c-api/complex.rst:19
41
38
msgid ""
42
39
"Note that the functions which accept these structures as parameters and "
43
40
"return them as results do so *by value* rather than dereferencing them "
44
41
"through pointers. This is consistent throughout the API."
45
42
msgstr ""
46
- "請注意,接受這些結構作為參數並將它們作為結果回傳的函式是\\ *按值 (by "
47
- "value)* 執行的,而不是透過指標取消參照 (dereference) 它們。這在整個 API 中"
48
- "都是一致的。"
49
43
50
44
#: ../../c-api/complex.rst:26
51
45
msgid ""
@@ -54,116 +48,103 @@ msgid ""
54
48
"objects use structures of this type as input or output values, as "
55
49
"appropriate. It is defined as::"
56
50
msgstr ""
57
- "相對於 Python 複數物件之數值部分的 C 結構。大多數處理複數物件的函式根據需求會"
58
- "使用這種型別的結構作為輸入或輸出值。它定義為: ::"
59
51
60
52
#: ../../c-api/complex.rst:39
61
53
msgid ""
62
54
"Return the sum of two complex numbers, using the C :c:type:`Py_complex` "
63
55
"representation."
64
- msgstr "以 C 的 :c:type:`Py_complex` 表示形式來回傳兩個複數之和。 "
56
+ msgstr ""
65
57
66
58
#: ../../c-api/complex.rst:45
67
59
msgid ""
68
60
"Return the difference between two complex numbers, using the C :c:type:"
69
61
"`Py_complex` representation."
70
- msgstr "以 C 的 :c:type:`Py_complex` 表示形式來回傳兩個複數間的差。 "
62
+ msgstr ""
71
63
72
64
#: ../../c-api/complex.rst:51
73
65
msgid ""
74
66
"Return the negation of the complex number *num*, using the C :c:type:"
75
67
"`Py_complex` representation."
76
- msgstr "以 C 的 :c:type:`Py_complex` 表示形式來回傳複數 *num* 的相反數 (negation)。 "
68
+ msgstr ""
77
69
78
70
#: ../../c-api/complex.rst:57
79
71
msgid ""
80
72
"Return the product of two complex numbers, using the C :c:type:`Py_complex` "
81
73
"representation."
82
- msgstr "以 C 的 :c:type:`Py_complex` 表示形式來回傳兩個複數的乘積。 "
74
+ msgstr ""
83
75
84
76
#: ../../c-api/complex.rst:63
85
77
msgid ""
86
78
"Return the quotient of two complex numbers, using the C :c:type:`Py_complex` "
87
79
"representation."
88
- msgstr "以 C 的 :c:type:`Py_complex` 表示形式來回傳兩個複數的商。 "
80
+ msgstr ""
89
81
90
82
#: ../../c-api/complex.rst:66
91
83
msgid ""
92
84
"If *divisor* is null, this method returns zero and sets :c:data:`errno` to :"
93
85
"c:macro:`!EDOM`."
94
86
msgstr ""
95
- "如果 *divisor* 為 null,則此方法會回傳零並將 :c:data:`errno` 設定為 :c:macro:"
96
- "`!EDOM`。"
97
87
98
88
#: ../../c-api/complex.rst:72
99
89
msgid ""
100
90
"Return the exponentiation of *num* by *exp*, using the C :c:type:"
101
91
"`Py_complex` representation."
102
92
msgstr ""
103
- "以 C 的 :c:type:`Py_complex` 表示形式來回傳 *num* 的 *exp* 次方的結果。"
104
93
105
94
#: ../../c-api/complex.rst:75
106
95
msgid ""
107
96
"If *num* is null and *exp* is not a positive real number, this method "
108
97
"returns zero and sets :c:data:`errno` to :c:macro:`!EDOM`."
109
98
msgstr ""
110
- "如果 *num* 為 null 且 *exp* 不是正實數,則此方法會回傳零並將 :c:data:`errno` "
111
- "設定為 :c:macro:`!EDOM`。"
112
99
113
100
#: ../../c-api/complex.rst:80
114
101
msgid "Complex Numbers as Python Objects"
115
- msgstr "作為 Python 物件的複數 "
102
+ msgstr ""
116
103
117
104
#: ../../c-api/complex.rst:85
118
105
msgid ""
119
106
"This subtype of :c:type:`PyObject` represents a Python complex number object."
120
- msgstr "這個 :c:type:`PyObject` 的子型別代表一個 Python 複數物件。 "
107
+ msgstr ""
121
108
122
109
#: ../../c-api/complex.rst:90
123
110
msgid ""
124
111
"This instance of :c:type:`PyTypeObject` represents the Python complex number "
125
112
"type. It is the same object as :class:`complex` in the Python layer."
126
113
msgstr ""
127
- "這個 :c:type:`PyTypeObject` 的實例代表 Python 複數型別。它與 Python 層中的 :"
128
- "class:`complex` 是同一個物件。"
129
114
130
115
#: ../../c-api/complex.rst:96
131
116
msgid ""
132
117
"Return true if its argument is a :c:type:`PyComplexObject` or a subtype of :"
133
118
"c:type:`PyComplexObject`. This function always succeeds."
134
119
msgstr ""
135
- "如果其引數是一個 :c:type:`PyComplexObject` 或者是 :c:type:`PyComplexObject` "
136
- "的子型別,則會回傳 true。這個函式不會失敗。"
137
120
138
121
#: ../../c-api/complex.rst:102
139
122
msgid ""
140
123
"Return true if its argument is a :c:type:`PyComplexObject`, but not a "
141
124
"subtype of :c:type:`PyComplexObject`. This function always succeeds."
142
125
msgstr ""
143
- "如果其引數是一個 :c:type:`PyComplexObject`,但不是 :c:type:`PyComplexObject` "
144
- "的子型別,則會回傳 true。這個函式不會失敗。"
145
126
146
127
#: ../../c-api/complex.rst:108
147
128
msgid ""
148
129
"Create a new Python complex number object from a C :c:type:`Py_complex` "
149
130
"value."
150
- msgstr "從 C 的 :c:type:`Py_complex` 值建立一個新的 Python 複數物件。 "
131
+ msgstr ""
151
132
152
133
#: ../../c-api/complex.rst:113
153
134
msgid "Return a new :c:type:`PyComplexObject` object from *real* and *imag*."
154
- msgstr "從 *real* 和 *imag* 回傳一個新的 :c:type:`PyComplexObject` 物件。 "
135
+ msgstr ""
155
136
156
137
#: ../../c-api/complex.rst:118
157
138
msgid "Return the real part of *op* as a C :c:expr:`double`."
158
- msgstr "以 C 的 :c:expr:`double` 形式回傳 *op* 的實部。 "
139
+ msgstr ""
159
140
160
141
#: ../../c-api/complex.rst:123
161
142
msgid "Return the imaginary part of *op* as a C :c:expr:`double`."
162
- msgstr "將 *op* 的虛部作為 C 的 :c:expr:`double` 回傳。 "
143
+ msgstr ""
163
144
164
145
#: ../../c-api/complex.rst:128
165
146
msgid "Return the :c:type:`Py_complex` value of the complex number *op*."
166
- msgstr "回傳複數 *op* 的 :c:type:`Py_complex` 值。 "
147
+ msgstr ""
167
148
168
149
#: ../../c-api/complex.rst:130
169
150
msgid ""
@@ -174,11 +155,6 @@ msgid ""
174
155
"defined then it falls back to :meth:`~object.__index__`. Upon failure, this "
175
156
"method returns ``-1.0`` as a real value."
176
157
msgstr ""
177
- "如果 *op* 不是 Python 複數物件,但有一個 :meth:`~object.__complex__` 方法,則"
178
- "首先會呼叫該方法將 *op* 轉換為 Python 複數物件。如果 :meth:`!__complex__` 並"
179
- "未定義,那麼它會回退到 :meth:`~object.__float__`。如果 :meth:`!__float__` 未"
180
- "定義,則它將繼續回退為 :meth:`~object.__index__`。失敗時,此方法回傳 "
181
- "``-1.0`` 作為實部值。"
182
158
183
159
#: ../../c-api/complex.rst:137
184
160
msgid "Use :meth:`~object.__index__` if available."
0 commit comments