@@ -13,7 +13,7 @@ msgid ""
13
13
msgstr ""
14
14
"Project-Id-Version : Python 3.13\n "
15
15
"Report-Msgid-Bugs-To : \n "
16
- "POT-Creation-Date : 2024-07-05 14:16+0000\n "
16
+ "POT-Creation-Date : 2024-07-19 14:16+0000\n "
17
17
"PO-Revision-Date : 2021-06-28 00:48+0000\n "
18
18
"Last-Translator : Taichi Haradaguchi, 2024\n "
19
19
"Language-Team : Japanese (https://app.transifex.com/python-doc/teams/5390/ "
@@ -59,164 +59,166 @@ msgid ""
59
59
"The C structure which corresponds to the value portion of a Python complex "
60
60
"number object. Most of the functions for dealing with complex number "
61
61
"objects use structures of this type as input or output values, as "
62
- "appropriate. It is defined as:: "
62
+ "appropriate."
63
63
msgstr ""
64
- "Python 複素数オブジェクトの値の部分に対応する C の構造体です。複素数オブジェ"
65
- "クトを扱うほとんどの関数は、この型の構造体を場合に応じて入力や出力として使い"
66
- "ます。構造体は以下のように定義されています::"
67
64
68
- #: ../../c-api/complex.rst:39
65
+ #: ../../c-api/complex.rst:33
66
+ msgid "The structure is defined as::"
67
+ msgstr ""
68
+
69
+ #: ../../c-api/complex.rst:43
69
70
msgid ""
70
71
"Return the sum of two complex numbers, using the C :c:type:`Py_complex` "
71
72
"representation."
72
73
msgstr "二つの複素数の和を C の :c:type:`Py_complex` 型で返します。"
73
74
74
- #: ../../c-api/complex.rst:45
75
+ #: ../../c-api/complex.rst:49
75
76
msgid ""
76
77
"Return the difference between two complex numbers, using the C :c:type:"
77
78
"`Py_complex` representation."
78
79
msgstr "二つの複素数の差を C の :c:type:`Py_complex` 型で返します。"
79
80
80
- #: ../../c-api/complex.rst:51
81
+ #: ../../c-api/complex.rst:55
81
82
msgid ""
82
83
"Return the negation of the complex number *num*, using the C :c:type:"
83
84
"`Py_complex` representation."
84
85
msgstr "複素数 *num* の符号反転 C の :c:type:`Py_complex` 型で返します。"
85
86
86
- #: ../../c-api/complex.rst:57
87
+ #: ../../c-api/complex.rst:61
87
88
msgid ""
88
89
"Return the product of two complex numbers, using the C :c:type:`Py_complex` "
89
90
"representation."
90
91
msgstr "二つの複素数の積を C の :c:type:`Py_complex` 型で返します。"
91
92
92
- #: ../../c-api/complex.rst:63
93
+ #: ../../c-api/complex.rst:67
93
94
msgid ""
94
95
"Return the quotient of two complex numbers, using the C :c:type:`Py_complex` "
95
96
"representation."
96
97
msgstr "二つの複素数の商を C の :c:type:`Py_complex` 型で返します。"
97
98
98
- #: ../../c-api/complex.rst:66
99
+ #: ../../c-api/complex.rst:70
99
100
msgid ""
100
101
"If *divisor* is null, this method returns zero and sets :c:data:`errno` to :"
101
102
"c:macro:`!EDOM`."
102
103
msgstr ""
103
104
"*divisor* が null の場合は、このメソッドはゼロを返し、 :c:data:`errno` に :c:"
104
105
"macro:`!EDOM` をセットします。"
105
106
106
- #: ../../c-api/complex.rst:72
107
+ #: ../../c-api/complex.rst:76
107
108
msgid ""
108
109
"Return the exponentiation of *num* by *exp*, using the C :c:type:"
109
110
"`Py_complex` representation."
110
111
msgstr "指数 *exp* の *num* 乗を C の :c:type:`Py_complex` 型で返します。"
111
112
112
- #: ../../c-api/complex.rst:75
113
+ #: ../../c-api/complex.rst:79
113
114
msgid ""
114
115
"If *num* is null and *exp* is not a positive real number, this method "
115
116
"returns zero and sets :c:data:`errno` to :c:macro:`!EDOM`."
116
117
msgstr ""
117
118
"*num* が null で *exp* が正の実数でない場合は、このメソッドはゼロを返し、 :c:"
118
119
"data:`errno` に :c:macro:`!EDOM` をセットします。"
119
120
120
- #: ../../c-api/complex.rst:80
121
+ #: ../../c-api/complex.rst:84
121
122
msgid "Complex Numbers as Python Objects"
122
123
msgstr "Python オブジェクトとしての複素数型"
123
124
124
- #: ../../c-api/complex.rst:85
125
+ #: ../../c-api/complex.rst:89
125
126
msgid ""
126
127
"This subtype of :c:type:`PyObject` represents a Python complex number object."
127
128
msgstr "この :c:type:`PyObject` のサブタイプは Python の複素数型を表現します。"
128
129
129
- #: ../../c-api/complex.rst:90
130
+ #: ../../c-api/complex.rst:94
130
131
msgid ""
131
132
"This instance of :c:type:`PyTypeObject` represents the Python complex number "
132
133
"type. It is the same object as :class:`complex` in the Python layer."
133
134
msgstr ""
134
135
"この :c:type:`PyTypeObject` のインスタンスは Python の複素数型を表現します。 "
135
136
"Pythonレイヤの :class:`complex` と同じオブジェクトです。"
136
137
137
- #: ../../c-api/complex.rst:96
138
+ #: ../../c-api/complex.rst:100
138
139
msgid ""
139
140
"Return true if its argument is a :c:type:`PyComplexObject` or a subtype of :"
140
141
"c:type:`PyComplexObject`. This function always succeeds."
141
142
msgstr ""
142
143
"引数が :c:type:`PyComplexObject` か :c:type:`PyComplexObject` のサブタイプで"
143
144
"あるときに真を返します。この関数は常に成功します。"
144
145
145
- #: ../../c-api/complex.rst:102
146
+ #: ../../c-api/complex.rst:106
146
147
msgid ""
147
148
"Return true if its argument is a :c:type:`PyComplexObject`, but not a "
148
149
"subtype of :c:type:`PyComplexObject`. This function always succeeds."
149
150
msgstr ""
150
151
"引数が :c:type:`PyComplexObject` であるが :c:type:`PyComplexObject` のサブタ"
151
152
"イプでないときに真を返します。この関数は常に成功します。"
152
153
153
- #: ../../c-api/complex.rst:108
154
+ #: ../../c-api/complex.rst:112
154
155
msgid ""
155
156
"Create a new Python complex number object from a C :c:type:`Py_complex` "
156
- "value."
157
- msgstr "C の :c:type:`Py_complex` 型から Python の複素数値を生成します。"
158
-
159
- #: ../../c-api/complex.rst:113
160
- msgid "Return a new :c:type:`PyComplexObject` object from *real* and *imag*."
157
+ "value. Return ``NULL`` with an exception set on error."
161
158
msgstr ""
162
- "新たな :c:type:`PyComplexObject` オブジェクトを *real* と *imag* から生成しま"
163
- "す。"
164
159
165
160
#: ../../c-api/complex.rst:118
161
+ msgid ""
162
+ "Return a new :c:type:`PyComplexObject` object from *real* and *imag*. Return "
163
+ "``NULL`` with an exception set on error."
164
+ msgstr ""
165
+
166
+ #: ../../c-api/complex.rst:124
166
167
msgid "Return the real part of *op* as a C :c:expr:`double`."
167
168
msgstr "*op* の実数部分を C の :c:expr:`double` 型で返します。"
168
169
169
- #: ../../c-api/complex.rst:120
170
+ #: ../../c-api/complex.rst:126
170
171
msgid ""
171
172
"If *op* is not a Python complex number object but has a :meth:`~object."
172
173
"__complex__` method, this method will first be called to convert *op* to a "
173
174
"Python complex number object. If :meth:`!__complex__` is not defined then "
174
- "it falls back to call :c:func:`PyFloat_AsDouble` and returns its result. "
175
- "Upon failure, this method returns ``-1.0``, so one should call :c:func:"
176
- "`PyErr_Occurred` to check for errors."
175
+ "it falls back to call :c:func:`PyFloat_AsDouble` and returns its result."
176
+ msgstr ""
177
+
178
+ #: ../../c-api/complex.rst:132 ../../c-api/complex.rst:148
179
+ msgid ""
180
+ "Upon failure, this method returns ``-1.0`` with an exception set, so one "
181
+ "should call :c:func:`PyErr_Occurred` to check for errors."
177
182
msgstr ""
178
183
179
- #: ../../c-api/complex.rst:127 ../../c-api/complex.rst:141
184
+ #: ../../c-api/complex.rst:135 ../../c-api/complex.rst:151
180
185
msgid "Use :meth:`~object.__complex__` if available."
181
186
msgstr ""
182
187
183
- #: ../../c-api/complex.rst:132
188
+ #: ../../c-api/complex.rst:140
184
189
msgid "Return the imaginary part of *op* as a C :c:expr:`double`."
185
190
msgstr "*op* の虚数部分を C の :c:expr:`double` 型で返します。"
186
191
187
- #: ../../c-api/complex.rst:134
192
+ #: ../../c-api/complex.rst:142
188
193
msgid ""
189
194
"If *op* is not a Python complex number object but has a :meth:`~object."
190
195
"__complex__` method, this method will first be called to convert *op* to a "
191
196
"Python complex number object. If :meth:`!__complex__` is not defined then "
192
197
"it falls back to call :c:func:`PyFloat_AsDouble` and returns ``0.0`` on "
193
- "success. Upon failure, this method returns ``-1.0``, so one should call :c:"
194
- "func:`PyErr_Occurred` to check for errors."
198
+ "success."
195
199
msgstr ""
196
200
197
- #: ../../c-api/complex.rst:146
201
+ #: ../../c-api/complex.rst:156
198
202
msgid "Return the :c:type:`Py_complex` value of the complex number *op*."
199
203
msgstr "複素数値 *op* から :c:type:`Py_complex` 型を生成します。"
200
204
201
- #: ../../c-api/complex.rst:148
205
+ #: ../../c-api/complex.rst:158
202
206
msgid ""
203
207
"If *op* is not a Python complex number object but has a :meth:`~object."
204
208
"__complex__` method, this method will first be called to convert *op* to a "
205
209
"Python complex number object. If :meth:`!__complex__` is not defined then "
206
210
"it falls back to :meth:`~object.__float__`. If :meth:`!__float__` is not "
207
- "defined then it falls back to :meth:`~object.__index__`. Upon failure, this "
208
- "method returns ``-1.0`` as a real value."
209
- msgstr ""
210
- "*op* が Python の複素数オブジェクトではないが、 :meth:`~object.__complex__` "
211
- "メソッドを持っていた場合、このメソッドが最初に呼ばれ、 *op* が Python の複素"
212
- "数オブジェクトに変換されます。\n"
213
- ":meth:`!__complex__` が定義されていない場合は、 :meth:`~object.__float__` に"
214
- "フォールバックされます。\n"
215
- ":meth:`!__float__` が定義されていない場合は、 :meth:`~object.__index__` に"
216
- "フォールバックされます。\n"
217
- "処理が失敗した場合は、このメソッドは実数の ``-1.0`` を返します。"
218
-
219
- #: ../../c-api/complex.rst:155
211
+ "defined then it falls back to :meth:`~object.__index__`."
212
+ msgstr ""
213
+
214
+ #: ../../c-api/complex.rst:164
215
+ msgid ""
216
+ "Upon failure, this method returns :c:type:`Py_complex` with :c:member:"
217
+ "`~Py_complex.real` set to ``-1.0`` and with an exception set, so one should "
218
+ "call :c:func:`PyErr_Occurred` to check for errors."
219
+ msgstr ""
220
+
221
+ #: ../../c-api/complex.rst:168
220
222
msgid "Use :meth:`~object.__index__` if available."
221
223
msgstr "可能であれば :meth:`~object.__index__` を使うようになりました。"
222
224
0 commit comments