@@ -12,7 +12,7 @@ msgid ""
12
12
msgstr ""
13
13
"Project-Id-Version : Python 3.12\n "
14
14
"Report-Msgid-Bugs-To : \n "
15
- "POT-Creation-Date : 2024-01-26 14:13+0000\n "
15
+ "POT-Creation-Date : 2024-02-02 14:13+0000\n "
16
16
"PO-Revision-Date : 2021-06-28 00:48+0000\n "
17
17
"Last-Translator : Arihiro TAKASE, 2023\n "
18
18
"Language-Team : Japanese (https://app.transifex.com/python-doc/teams/5390/ "
@@ -112,6 +112,51 @@ msgstr "以下の関数は locale 非依存な文字列から数値への変換
112
112
113
113
#: ../../c-api/conversion.rst:53
114
114
msgid ""
115
+ "Convert the initial part of the string in ``str`` to an :c:expr:`unsigned "
116
+ "long` value according to the given ``base``, which must be between ``2`` and "
117
+ "``36`` inclusive, or be the special value ``0``."
118
+ msgstr ""
119
+
120
+ #: ../../c-api/conversion.rst:57
121
+ msgid ""
122
+ "Leading white space and case of characters are ignored. If ``base`` is zero "
123
+ "it looks for a leading ``0b``, ``0o`` or ``0x`` to tell which base. If "
124
+ "these are absent it defaults to ``10``. Base must be 0 or between 2 and 36 "
125
+ "(inclusive). If ``ptr`` is non-``NULL`` it will contain a pointer to the "
126
+ "end of the scan."
127
+ msgstr ""
128
+
129
+ #: ../../c-api/conversion.rst:63
130
+ msgid ""
131
+ "If the converted value falls out of range of corresponding return type, "
132
+ "range error occurs (:c:data:`errno` is set to :c:macro:`!ERANGE`) and :c:"
133
+ "macro:`!ULONG_MAX` is returned. If no conversion can be performed, ``0`` is "
134
+ "returned."
135
+ msgstr ""
136
+
137
+ #: ../../c-api/conversion.rst:68
138
+ msgid "See also the Unix man page :manpage:`strtoul(3)`."
139
+ msgstr ""
140
+
141
+ #: ../../c-api/conversion.rst:75
142
+ msgid ""
143
+ "Convert the initial part of the string in ``str`` to an :c:expr:`long` value "
144
+ "according to the given ``base``, which must be between ``2`` and ``36`` "
145
+ "inclusive, or be the special value ``0``."
146
+ msgstr ""
147
+
148
+ #: ../../c-api/conversion.rst:79
149
+ msgid ""
150
+ "Same as :c:func:`PyOS_strtoul`, but return a :c:expr:`long` value instead "
151
+ "and :c:macro:`LONG_MAX` on overflows."
152
+ msgstr ""
153
+
154
+ #: ../../c-api/conversion.rst:82
155
+ msgid "See also the Unix man page :manpage:`strtol(3)`."
156
+ msgstr ""
157
+
158
+ #: ../../c-api/conversion.rst:89
159
+ msgid ""
115
160
"Convert a string ``s`` to a :c:expr:`double`, raising a Python exception on "
116
161
"failure. The set of accepted strings corresponds to the set of strings "
117
162
"accepted by Python's :func:`float` constructor, except that ``s`` must not "
@@ -123,7 +168,7 @@ msgstr ""
123
168
"が受け付ける文字列に準拠しますが、 ``s`` の先頭と末尾に空白文字があってはなら"
124
169
"ないという部分が異なります。この変換は現在のロケールに依存しません。"
125
170
126
- #: ../../c-api/conversion.rst:59
171
+ #: ../../c-api/conversion.rst:95
127
172
msgid ""
128
173
"If ``endptr`` is ``NULL``, convert the whole string. Raise :exc:"
129
174
"`ValueError` and return ``-1.0`` if the string is not a valid representation "
@@ -133,7 +178,7 @@ msgstr ""
133
178
"しい浮動小数点数の表現になっていない場合は ``-1.0`` を返して :exc:"
134
179
"`ValueError` を発生させます。"
135
180
136
- #: ../../c-api/conversion.rst:63
181
+ #: ../../c-api/conversion.rst:99
137
182
msgid ""
138
183
"If endptr is not ``NULL``, convert as much of the string as possible and set "
139
184
"``*endptr`` to point to the first unconverted character. If no initial "
@@ -146,7 +191,7 @@ msgstr ""
146
191
"数点数の表現が無かった場合、``*endptr`` を文字列の先頭に設定して、ValueError "
147
192
"を発生させ、``-1.0`` を返します。"
148
193
149
- #: ../../c-api/conversion.rst:70
194
+ #: ../../c-api/conversion.rst:106
150
195
msgid ""
151
196
"If ``s`` represents a value that is too large to store in a float (for "
152
197
"example, ``\" 1e500\" `` is such a string on many platforms) then if "
@@ -164,23 +209,23 @@ msgstr ""
164
209
"場合でも、``*endptr`` には変換された値の直後の最初の文字へのポインタが設定さ"
165
210
"れます。"
166
211
167
- #: ../../c-api/conversion.rst:78
212
+ #: ../../c-api/conversion.rst:114
168
213
msgid ""
169
214
"If any other error occurs during the conversion (for example an out-of-"
170
215
"memory error), set the appropriate Python exception and return ``-1.0``."
171
216
msgstr ""
172
217
"それ以外のエラーが変換中に発生した場合(例えば out-of-memory エラー)、適切な "
173
218
"Python の例外を設定して ``-1.0`` を返します。"
174
219
175
- #: ../../c-api/conversion.rst:87
220
+ #: ../../c-api/conversion.rst:123
176
221
msgid ""
177
222
"Convert a :c:expr:`double` *val* to a string using supplied *format_code*, "
178
223
"*precision*, and *flags*."
179
224
msgstr ""
180
225
":c:expr:`double` *val* を指定された *format_code*, *precision*, *flags* に基"
181
226
"づいて文字列に変換します。"
182
227
183
- #: ../../c-api/conversion.rst:90
228
+ #: ../../c-api/conversion.rst:126
184
229
msgid ""
185
230
"*format_code* must be one of ``'e'``, ``'E'``, ``'f'``, ``'F'``, ``'g'``, "
186
231
"``'G'`` or ``'r'``. For ``'r'``, the supplied *precision* must be 0 and is "
@@ -191,29 +236,29 @@ msgstr ""
191
236
"ければならず、無視されます。 ``'r'`` フォーマットコードは標準の :func:`repr` "
192
237
"フォーマットを指定しています。"
193
238
194
- #: ../../c-api/conversion.rst:95
239
+ #: ../../c-api/conversion.rst:131
195
240
msgid ""
196
241
"*flags* can be zero or more of the values ``Py_DTSF_SIGN``, "
197
242
"``Py_DTSF_ADD_DOT_0``, or ``Py_DTSF_ALT``, or-ed together:"
198
243
msgstr ""
199
244
"*flags* は 0 か、 ``Py_DTSF_SIGN``, ``Py_DTSF_ADD_DOT_0``, ``Py_DTSF_ALT`` "
200
245
"か、これらの or を取ったものです:"
201
246
202
- #: ../../c-api/conversion.rst:98
247
+ #: ../../c-api/conversion.rst:134
203
248
msgid ""
204
249
"``Py_DTSF_SIGN`` means to always precede the returned string with a sign "
205
250
"character, even if *val* is non-negative."
206
251
msgstr ""
207
252
"``Py_DTSF_SIGN`` は、*val* が負で無いときも常に符号文字を先頭につけることを意"
208
253
"味します。"
209
254
210
- #: ../../c-api/conversion.rst:101
255
+ #: ../../c-api/conversion.rst:137
211
256
msgid ""
212
257
"``Py_DTSF_ADD_DOT_0`` means to ensure that the returned string will not look "
213
258
"like an integer."
214
259
msgstr "``Py_DTSF_ADD_DOT_0`` は文字列が整数のように見えないことを保証します。"
215
260
216
- #: ../../c-api/conversion.rst:104
261
+ #: ../../c-api/conversion.rst:140
217
262
msgid ""
218
263
"``Py_DTSF_ALT`` means to apply \" alternate\" formatting rules. See the "
219
264
"documentation for the :c:func:`PyOS_snprintf` ``'#'`` specifier for details."
@@ -222,7 +267,7 @@ msgstr ""
222
267
"す。\n"
223
268
"詳細は :c:func:`PyOS_snprintf` の ``'#'`` 指定を参照してください。"
224
269
225
- #: ../../c-api/conversion.rst:108
270
+ #: ../../c-api/conversion.rst:144
226
271
msgid ""
227
272
"If *ptype* is non-``NULL``, then the value it points to will be set to one "
228
273
"of ``Py_DTST_FINITE``, ``Py_DTST_INFINITE``, or ``Py_DTST_NAN``, signifying "
@@ -233,7 +278,7 @@ msgstr ""
233
278
"て、``Py_DTST_FINITE``, ``Py_DTST_INFINITE``, ``Py_DTST_NAN`` のいずれかに設"
234
279
"定されます。"
235
280
236
- #: ../../c-api/conversion.rst:112
281
+ #: ../../c-api/conversion.rst:148
237
282
msgid ""
238
283
"The return value is a pointer to *buffer* with the converted string or "
239
284
"``NULL`` if the conversion failed. The caller is responsible for freeing the "
@@ -244,13 +289,13 @@ msgstr ""
244
289
"呼び出し側は、返された文字列を :c:func:`PyMem_Free` を使って解放する責任があ"
245
290
"ります。"
246
291
247
- #: ../../c-api/conversion.rst:121
292
+ #: ../../c-api/conversion.rst:157
248
293
msgid ""
249
294
"Case insensitive comparison of strings. The function works almost "
250
295
"identically to :c:func:`!strcmp` except that it ignores the case."
251
296
msgstr ""
252
297
253
- #: ../../c-api/conversion.rst:127
298
+ #: ../../c-api/conversion.rst:163
254
299
msgid ""
255
300
"Case insensitive comparison of strings. The function works almost "
256
301
"identically to :c:func:`!strncmp` except that it ignores the case."
0 commit comments