Skip to content

Commit 96dbe3b

Browse files
Banana-chenmattwang44
authored andcommitted
new commit
1 parent 0fec5ca commit 96dbe3b

File tree

2 files changed

+18
-52
lines changed

2 files changed

+18
-52
lines changed

c-api/complex.po

+17-41
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
# Copyright (C) 2001-2023, Python Software Foundation
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) 2001-2022, Python Software Foundation
23
# This file is distributed under the same license as the Python package.
34
#
45
# Translators:
5-
# Matt Wang <[email protected]>, 2023
66
msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.12\n"
99
"Report-Msgid-Bugs-To: \n"
1010
"POT-Creation-Date: 2023-07-29 00:03+0000\n"
1111
"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"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1414
"tw)\n"
1515
"Language: zh_TW\n"
@@ -20,7 +20,7 @@ msgstr ""
2020

2121
#: ../../c-api/complex.rst:6
2222
msgid "Complex Number Objects"
23-
msgstr "複數物件"
23+
msgstr ""
2424

2525
#: ../../c-api/complex.rst:10
2626
msgid ""
@@ -29,23 +29,17 @@ msgid ""
2929
"and the other is a C structure which represents the actual complex number "
3030
"value. The API provides functions for working with both."
3131
msgstr ""
32-
"從 C API 來看,Python 的複數物件被實作為兩種不同的型別:一種是公開給 Python "
33-
"程式的 Python 物件,另一種是表示實際複數值的 C 結構。API 提供了與兩者一起作用"
34-
"的函式。"
3532

3633
#: ../../c-api/complex.rst:17
3734
msgid "Complex Numbers as C Structures"
38-
msgstr "作為 C 結構的複數"
35+
msgstr ""
3936

4037
#: ../../c-api/complex.rst:19
4138
msgid ""
4239
"Note that the functions which accept these structures as parameters and "
4340
"return them as results do so *by value* rather than dereferencing them "
4441
"through pointers. This is consistent throughout the API."
4542
msgstr ""
46-
"請注意,接受這些結構作為參數並將它們作為結果回傳的函式是\\ *按值 (by "
47-
"value)* 執行的,而不是透過指標取消參照 (dereference) 它們。這在整個 API 中"
48-
"都是一致的。"
4943

5044
#: ../../c-api/complex.rst:26
5145
msgid ""
@@ -54,116 +48,103 @@ msgid ""
5448
"objects use structures of this type as input or output values, as "
5549
"appropriate. It is defined as::"
5650
msgstr ""
57-
"相對於 Python 複數物件之數值部分的 C 結構。大多數處理複數物件的函式根據需求會"
58-
"使用這種型別的結構作為輸入或輸出值。它定義為: ::"
5951

6052
#: ../../c-api/complex.rst:39
6153
msgid ""
6254
"Return the sum of two complex numbers, using the C :c:type:`Py_complex` "
6355
"representation."
64-
msgstr "以 C 的 :c:type:`Py_complex` 表示形式來回傳兩個複數之和。"
56+
msgstr ""
6557

6658
#: ../../c-api/complex.rst:45
6759
msgid ""
6860
"Return the difference between two complex numbers, using the C :c:type:"
6961
"`Py_complex` representation."
70-
msgstr "以 C 的 :c:type:`Py_complex` 表示形式來回傳兩個複數間的差。"
62+
msgstr ""
7163

7264
#: ../../c-api/complex.rst:51
7365
msgid ""
7466
"Return the negation of the complex number *num*, using the C :c:type:"
7567
"`Py_complex` representation."
76-
msgstr "以 C 的 :c:type:`Py_complex` 表示形式來回傳複數 *num* 的相反數 (negation)。"
68+
msgstr ""
7769

7870
#: ../../c-api/complex.rst:57
7971
msgid ""
8072
"Return the product of two complex numbers, using the C :c:type:`Py_complex` "
8173
"representation."
82-
msgstr "以 C 的 :c:type:`Py_complex` 表示形式來回傳兩個複數的乘積。"
74+
msgstr ""
8375

8476
#: ../../c-api/complex.rst:63
8577
msgid ""
8678
"Return the quotient of two complex numbers, using the C :c:type:`Py_complex` "
8779
"representation."
88-
msgstr "以 C 的 :c:type:`Py_complex` 表示形式來回傳兩個複數的商。"
80+
msgstr ""
8981

9082
#: ../../c-api/complex.rst:66
9183
msgid ""
9284
"If *divisor* is null, this method returns zero and sets :c:data:`errno` to :"
9385
"c:macro:`!EDOM`."
9486
msgstr ""
95-
"如果 *divisor* 為 null,則此方法會回傳零並將 :c:data:`errno` 設定為 :c:macro:"
96-
"`!EDOM`。"
9787

9888
#: ../../c-api/complex.rst:72
9989
msgid ""
10090
"Return the exponentiation of *num* by *exp*, using the C :c:type:"
10191
"`Py_complex` representation."
10292
msgstr ""
103-
"以 C 的 :c:type:`Py_complex` 表示形式來回傳 *num* 的 *exp* 次方的結果。"
10493

10594
#: ../../c-api/complex.rst:75
10695
msgid ""
10796
"If *num* is null and *exp* is not a positive real number, this method "
10897
"returns zero and sets :c:data:`errno` to :c:macro:`!EDOM`."
10998
msgstr ""
110-
"如果 *num* 為 null 且 *exp* 不是正實數,則此方法會回傳零並將 :c:data:`errno` "
111-
"設定為 :c:macro:`!EDOM`。"
11299

113100
#: ../../c-api/complex.rst:80
114101
msgid "Complex Numbers as Python Objects"
115-
msgstr "作為 Python 物件的複數"
102+
msgstr ""
116103

117104
#: ../../c-api/complex.rst:85
118105
msgid ""
119106
"This subtype of :c:type:`PyObject` represents a Python complex number object."
120-
msgstr "這個 :c:type:`PyObject` 的子型別代表一個 Python 複數物件。"
107+
msgstr ""
121108

122109
#: ../../c-api/complex.rst:90
123110
msgid ""
124111
"This instance of :c:type:`PyTypeObject` represents the Python complex number "
125112
"type. It is the same object as :class:`complex` in the Python layer."
126113
msgstr ""
127-
"這個 :c:type:`PyTypeObject` 的實例代表 Python 複數型別。它與 Python 層中的 :"
128-
"class:`complex` 是同一個物件。"
129114

130115
#: ../../c-api/complex.rst:96
131116
msgid ""
132117
"Return true if its argument is a :c:type:`PyComplexObject` or a subtype of :"
133118
"c:type:`PyComplexObject`. This function always succeeds."
134119
msgstr ""
135-
"如果其引數是一個 :c:type:`PyComplexObject` 或者是 :c:type:`PyComplexObject` "
136-
"的子型別,則會回傳 true。這個函式不會失敗。"
137120

138121
#: ../../c-api/complex.rst:102
139122
msgid ""
140123
"Return true if its argument is a :c:type:`PyComplexObject`, but not a "
141124
"subtype of :c:type:`PyComplexObject`. This function always succeeds."
142125
msgstr ""
143-
"如果其引數是一個 :c:type:`PyComplexObject`,但不是 :c:type:`PyComplexObject` "
144-
"的子型別,則會回傳 true。這個函式不會失敗。"
145126

146127
#: ../../c-api/complex.rst:108
147128
msgid ""
148129
"Create a new Python complex number object from a C :c:type:`Py_complex` "
149130
"value."
150-
msgstr "從 C 的 :c:type:`Py_complex` 值建立一個新的 Python 複數物件。"
131+
msgstr ""
151132

152133
#: ../../c-api/complex.rst:113
153134
msgid "Return a new :c:type:`PyComplexObject` object from *real* and *imag*."
154-
msgstr "從 *real* 和 *imag* 回傳一個新的 :c:type:`PyComplexObject` 物件。"
135+
msgstr ""
155136

156137
#: ../../c-api/complex.rst:118
157138
msgid "Return the real part of *op* as a C :c:expr:`double`."
158-
msgstr "以 C 的 :c:expr:`double` 形式回傳 *op* 的實部。"
139+
msgstr ""
159140

160141
#: ../../c-api/complex.rst:123
161142
msgid "Return the imaginary part of *op* as a C :c:expr:`double`."
162-
msgstr "將 *op* 的虛部作為 C 的 :c:expr:`double` 回傳。"
143+
msgstr ""
163144

164145
#: ../../c-api/complex.rst:128
165146
msgid "Return the :c:type:`Py_complex` value of the complex number *op*."
166-
msgstr "回傳複數 *op* 的 :c:type:`Py_complex` 值。"
147+
msgstr ""
167148

168149
#: ../../c-api/complex.rst:130
169150
msgid ""
@@ -174,11 +155,6 @@ msgid ""
174155
"defined then it falls back to :meth:`~object.__index__`. Upon failure, this "
175156
"method returns ``-1.0`` as a real value."
176157
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`` 作為實部值。"
182158

183159
#: ../../c-api/complex.rst:137
184160
msgid "Use :meth:`~object.__index__` if available."

library/csv.po

+1-11
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ msgstr ""
2020

2121
#: ../../library/csv.rst:2
2222
msgid ":mod:`csv` --- CSV File Reading and Writing"
23-
msgstr ":mod:`csv` --- CSV 檔案讀取及寫入"
23+
msgstr ""
2424

2525
#: ../../library/csv.rst:9
2626
msgid "**Source code:** :source:`Lib/csv.py`"
@@ -39,13 +39,6 @@ msgid ""
3939
"single module which can efficiently manipulate such data, hiding the details "
4040
"of reading and writing the data from the programmer."
4141
msgstr ""
42-
"所謂的 CSV (Comma Separated Values) 檔案格式是試算表及資料庫中最常見的"
43-
"匯入、匯出檔案格式。在嘗試以 :rfc:`4180` 中的標準化方式來描述格式之前,"
44-
"CSV 格式已經使用了許多年。由於缺少一個完善定義的標準,意味著各個不同的"
45-
"應用程式會在資料產生及銷毀時有微妙的差別。這些不同之處使得從不同資料來源"
46-
"處理 CSV 檔案時會非常擾人。儘管如此,雖然分隔符號和引號字元有所不同,整體的"
47-
"格式非常相似,可以寫個單一模組來高效率的操作這樣的資料,讓程式設計師可以隱藏"
48-
"讀取及寫入資料的細節。"
4942

5043
#: ../../library/csv.rst:28
5144
msgid ""
@@ -68,9 +61,6 @@ msgid ""
6861
"write sequences. Programmers can also read and write data in dictionary "
6962
"form using the :class:`DictReader` and :class:`DictWriter` classes."
7063
msgstr ""
71-
":mod:`csv` 模組的 :class:`reader` 及 :class:`writer` 物件可以讀取"
72-
"及寫入序列。程式設計師也可以透過 :class:`DictReader` 及 :class:`DictWriter`"
73-
" class(類別)使用 dictionary (字典)讀取及寫入資料。"
7464

7565
#: ../../library/csv.rst:41
7666
msgid ":pep:`305` - CSV File API"

0 commit comments

Comments
 (0)