Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit779078d

Browse files
author
github-actions
committed
Merge 3.11 into 3.10
1 parentdf0a15a commit779078d

File tree

5 files changed

+87
-23
lines changed

5 files changed

+87
-23
lines changed

‎library/math.po

Lines changed: 51 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -70,18 +70,23 @@ msgid ""
7070
"*x*. If *x* is not a float, delegates to :meth:`x.__ceil__ <object."
7171
"__ceil__>`, which should return an :class:`~numbers.Integral` value."
7272
msgstr""
73+
"*x* の「天井」 (*x* 以上の最小の整数) を返します。 *x* が浮動小数点数でなけれ"
74+
"ば、内部的に :meth:`x.__ceil__ <object.__ceil__>` が実行され、 :class:"
75+
"`~numbers.Integral` 値が返されます。"
7376

7477
#:../../library/math.rst:41
7578
msgid""
7679
"Return the number of ways to choose *k* items from *n* items without "
7780
"repetition and without order."
78-
msgstr""
81+
msgstr"*n* 個の中から *k* 個を重複無く順序をつけずに選ぶ方法の数を返します。"
7982

8083
#:../../library/math.rst:44
8184
msgid""
8285
"Evaluates to ``n! / (k! * (n - k)!)`` when ``k <= n`` and evaluates to zero "
8386
"when ``k > n``."
8487
msgstr""
88+
"``k <= n`` のとき ``n! / (k! * (n - k)!)`` と評価し、``k > n`` のとき 0 と評"
89+
"価します。"
8590

8691
#:../../library/math.rst:47
8792
msgid""
@@ -95,6 +100,8 @@ msgid ""
95100
"Raises :exc:`TypeError` if either of the arguments are not integers. Raises :"
96101
"exc:`ValueError` if either of the arguments are negative."
97102
msgstr""
103+
"いずれかの引数が整数でないなら :exc:`TypeError` を送出します。いずれかの引数"
104+
"が負であれば :exc:`ValueError` を送出します。"
98105

99106
#:../../library/math.rst:59
100107
msgid""
@@ -120,14 +127,17 @@ msgstr ""
120127

121128
#:../../library/math.rst:74
122129
msgid"Accepting floats with integral values (like ``5.0``) is deprecated."
123-
msgstr""
130+
msgstr"(``5.0`` のような) 整数値を持つ浮動小数点数を受け取るのは非推奨です。"
124131

125132
#:../../library/math.rst:80
126133
msgid""
127134
"Return the floor of *x*, the largest integer less than or equal to *x*. If "
128135
"*x* is not a float, delegates to :meth:`x.__floor__ <object.__floor__>`, "
129136
"which should return an :class:`~numbers.Integral` value."
130137
msgstr""
138+
"*x* の「床」 (*x* 以下の最大の整数) を返します。 *x* が浮動小数点数でなけれ"
139+
"ば、内部的に :meth:`x.__floor__ <object.__floor__>` が実行され、 :class:"
140+
"`~numbers.Integral` 値が返されます。"
131141

132142
#:../../library/math.rst:87
133143
msgid""
@@ -165,8 +175,8 @@ msgid ""
165175
msgstr""
166176
"*x* の仮数と指数を ``(m, e)`` のペアとして返します。*m* はfloat型で、*e* は厳"
167177
"密に ``x == m * 2**e`` であるような整数型です。*x* がゼロの場合は、``(0.0, "
168-
"0)`` を返し、それ以外の場合は、``0.5 <= abs(m) < 1``を返します。これは浮動小"
169-
"数点型の内部表現を可搬性を保ったまま\"分解 (pick apart)\"するためです。"
178+
"0)`` を返し、それ以外の場合は、``0.5 <= abs(m) < 1``です。これは浮動小数点型"
179+
"の内部表現を可搬性を保ったまま\"分解 (pick apart)\"するために使われます。"
170180

171181
#:../../library/math.rst:110
172182
msgid""
@@ -207,12 +217,17 @@ msgid ""
207217
"zero, then the returned value is ``0``. ``gcd()`` without arguments returns "
208218
"``0``."
209219
msgstr""
220+
"指定された整数引数の最大公約数を返します。0 でない引数があれば、返される値は"
221+
"全ての引数の約数である最大の正の整数です。全ての引数が 0 なら、返される値は "
222+
"``0`` です。引数の無い ``gcd()`` は ``0`` を返します。"
210223

211224
#:../../library/math.rst:139
212225
msgid""
213226
"Added support for an arbitrary number of arguments. Formerly, only two "
214227
"arguments were supported."
215228
msgstr""
229+
"任意の数の引数のサポートが追加されました。以前は、二つの引数のみがサポートさ"
230+
"れていました。"
216231

217232
#:../../library/math.rst:146
218233
msgid""
@@ -305,6 +320,8 @@ msgid ""
305320
"floor of the exact square root of *n*, or equivalently the greatest integer "
306321
"*a* such that *a*\\ ² |nbsp| ≤ |nbsp| *n*."
307322
msgstr""
323+
"非負整数 *n* の整数平方根を返します。これは *n* の正確な平方根の床であり、 "
324+
"*a*\\ ² |nbsp| ≤ |nbsp| *n* を満たす最大の整数 *a* と等価です。"
308325

309326
#:../../library/math.rst:201
310327
msgid""
@@ -313,6 +330,9 @@ msgid ""
313330
"the exact square root of *n*. For positive *n*, this can be computed using "
314331
"``a = 1 + isqrt(n - 1)``."
315332
msgstr""
333+
"少し応用すれば、*n* |nbsp| ≤ |nbsp| *a*\\ ² を満たす最小の整数 *a* 、言い換え"
334+
"れば *n* の正確な平方根の天井を効率的に得られます。正の *n* に対して、これは "
335+
"``a = 1 + isqrt(n - 1)`` を使って計算できます。"
316336

317337
#:../../library/math.rst:211
318338
msgid""
@@ -322,6 +342,9 @@ msgid ""
322342
"zero, then the returned value is ``0``. ``lcm()`` without arguments returns "
323343
"``1``."
324344
msgstr""
345+
"指定された整数引数の最小公倍数を返します。全ての引数が 0 でなければ、返される"
346+
"値は全ての引数の倍数である最小の正の整数です。引数に 0 があれば、返される値"
347+
"は ``0`` です。引数の無い ``lcm()`` は ``1`` を返します。"
325348

326349
#:../../library/math.rst:222
327350
msgid""
@@ -343,7 +366,7 @@ msgstr ""
343366

344367
#:../../library/math.rst:236
345368
msgid"If *x* is equal to *y*, return *y*."
346-
msgstr""
369+
msgstr"*x* が *y* に等しければ、*y* を返します。"
347370

348371
#:../../library/math.rst:238
349372
msgid"Examples:"
@@ -359,11 +382,12 @@ msgstr ""
359382

360383
#:../../library/math.rst:242
361384
msgid"``math.nextafter(x, 0.0)`` goes towards zero."
362-
msgstr""
385+
msgstr"``math.nextafter(x, 0.0)`` は 0 に近づきます。"
363386

364387
#:../../library/math.rst:243
365388
msgid"``math.nextafter(x, math.copysign(math.inf, x))`` goes away from zero."
366389
msgstr""
390+
"``math.nextafter(x, math.copysign(math.inf, x))`` は 0 から遠ざかります。"
367391

368392
#:../../library/math.rst:245
369393
msgid"See also :func:`math.ulp`."
@@ -373,32 +397,40 @@ msgstr ":func:`math.ulp` を参照してください。"
373397
msgid""
374398
"Return the number of ways to choose *k* items from *n* items without "
375399
"repetition and with order."
376-
msgstr""
400+
msgstr"*n* 個の中から *k* 個を重複無く順序をつけて選ぶ方法の数を返します。"
377401

378402
#:../../library/math.rst:254
379403
msgid""
380404
"Evaluates to ``n! / (n - k)!`` when ``k <= n`` and evaluates to zero when "
381405
"``k > n``."
382406
msgstr""
407+
"``k <= n`` のとき ``n! / (n - k)!`` と評価し、``k > n`` のとき 0 と評価しま"
408+
"す。"
383409

384410
#:../../library/math.rst:257
385411
msgid""
386412
"If *k* is not specified or is None, then *k* defaults to *n* and the "
387413
"function returns ``n!``."
388414
msgstr""
415+
"*k* が指定されていないか None であれば、*k* はデフォルトで *n* となりこの関数"
416+
"は ``n!`` を返します。"
389417

390418
#:../../library/math.rst:268
391419
msgid""
392420
"Calculate the product of all the elements in the input *iterable*. The "
393421
"default *start* value for the product is ``1``."
394422
msgstr""
423+
"入力 *iterable* の全ての要素の積を計算します。積のデフォルト *start* 値は "
424+
"``1`` です。"
395425

396426
#:../../library/math.rst:271
397427
msgid""
398428
"When the iterable is empty, return the start value. This function is "
399429
"intended specifically for use with numeric values and may reject non-numeric "
400430
"types."
401431
msgstr""
432+
"イテラブルが空のとき、初期値を返します。この関数は特に数値に使うことを意図さ"
433+
"れており、非数値を受け付けないことがあります。"
402434

403435
#:../../library/math.rst:280
404436
msgid""
@@ -446,29 +478,37 @@ msgid ""
446478
"delegates to :meth:`x.__trunc__ <object.__trunc__>`, which should return an :"
447479
"class:`~numbers.Integral` value."
448480
msgstr""
481+
"*x* の小数部を取り除き、残った整数部を返します。これは 0 に向かって丸められま"
482+
"す: ``trunc()`` は正の *x* に対しては :func:`floor` に等しく、負の *x* に対し"
483+
"ては :func:`ceil` に等しいです。*x* が浮動小数点数でなければ、内部的に :meth:"
484+
"`x.__trunc__ <object.__trunc__>` が実行され、 :class:`~numbers.Integral` 値が"
485+
"返されます。"
449486

450487
#:../../library/math.rst:309
451488
msgid"Return the value of the least significant bit of the float *x*:"
452-
msgstr""
489+
msgstr"浮動小数点数 *x* の最下位ビットの値を返します:"
453490

454491
#:../../library/math.rst:311
455492
msgid"If *x* is a NaN (not a number), return *x*."
456-
msgstr""
493+
msgstr"*x* が NaN (非数) なら、*x* を返します。"
457494

458495
#:../../library/math.rst:312
459496
msgid"If *x* is negative, return ``ulp(-x)``."
460-
msgstr""
497+
msgstr"*x* が負なら、``ulp(-x)`` を返します。"
461498

462499
#:../../library/math.rst:313
463500
msgid"If *x* is a positive infinity, return *x*."
464-
msgstr""
501+
msgstr"*x* が正の無限大なら、*x* を返します。"
465502

466503
#:../../library/math.rst:314
467504
msgid""
468505
"If *x* is equal to zero, return the smallest positive *denormalized* "
469506
"representable float (smaller than the minimum positive *normalized* float, :"
470507
"data:`sys.float_info.min <sys.float_info>`)."
471508
msgstr""
509+
"*x* が 0 に等しければ、(最小の正の *正規化* 浮動小数点数 :data:`sys."
510+
"float_info.min <sys.float_info>` よりも小さい) 最小の正の表現可能な *非正規化"
511+
"* 浮動小数点数を返します。 "
472512

473513
#:../../library/math.rst:317
474514
msgid""

‎library/sqlite3.po

Lines changed: 31 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1126,10 +1126,10 @@ msgid ""
11261126
"of pages still to be copied, and the *total* number of pages. Defaults to "
11271127
"``None``."
11281128
msgstr""
1129-
"呼び出し可能オブジェクトを設定すると、バックアップの反復ごとに 3 つの整数引数"
1130-
"で呼び出されます。 *status* は、最後の反復のステータスで、 *remaining* はまだ"
1131-
"コピーされていない残りのページ数で、 *total*はコピーされるページの合計で"
1132-
"。 デフォルトは ``None`` です。"
1129+
"呼び出し可能オブジェクトを設定すると、バックアップの指定ページ数単位の反復ご"
1130+
"とに 3 つの整数引数で呼び出されます。 *status* は、最後の反復のステータス"
1131+
"、 *remaining* はまだコピーされていない残りのページ数で、 *total*はコピー"
1132+
"されるページの合計です。 デフォルトは ``None`` です。"
11331133

11341134
#:../../library/sqlite3.rst:885
11351135
msgid""
@@ -1146,7 +1146,7 @@ msgstr ""
11461146
msgid""
11471147
"The number of seconds to sleep between successive attempts to back up "
11481148
"remaining pages."
1149-
msgstr""
1149+
msgstr"バックアップの指定ページ数単位の反復ごとにスリープする秒数。"
11501150

11511151
#:../../library/sqlite3.rst:896
11521152
msgid"Example 1, copy an existing database into another:"
@@ -1161,12 +1161,15 @@ msgid ""
11611161
"This read-only attribute corresponds to the low-level SQLite `autocommit "
11621162
"mode`_."
11631163
msgstr""
1164+
"この読み取り専用属性は、低レベルの SQLite `autocommit mode`_ に対応します。"
11641165

11651166
#:../../library/sqlite3.rst:930
11661167
msgid""
11671168
"``True`` if a transaction is active (there are uncommitted changes), "
11681169
"``False`` otherwise."
11691170
msgstr""
1171+
"トランザクションがアクティブな場合 (コミットされていない変更がある場合) は "
1172+
"``True`` 、それ以外の場合は ``False`` です。"
11701173

11711174
#:../../library/sqlite3.rst:937
11721175
msgid""
@@ -1177,12 +1180,21 @@ msgid ""
11771180
"`SQLite transaction behaviour`_, implicit :ref:`transaction management "
11781181
"<sqlite3-controlling-transactions>` is performed."
11791182
msgstr""
1183+
"この属性は、 :mod:`!sqlite3` によって実行される :ref:`トランザクション処理 "
1184+
"<sqlite3-controlling-transactions>` を制御します。 ``None`` に設定すると、ト"
1185+
"ランザクションが暗黙に開かれることはありません。背後の SQLite ライブラリのト"
1186+
"ランザクションの振る舞い(`SQLite transaction behaviour`_)に対応する "
1187+
"``\"DEFERRED\"`` または ``\"IMMEDIATE\"`` または ``\"EXCLUSIVE\"`` のいずれか"
1188+
"に設定すると、暗黙の :ref:`トランザクション制御 <sqlite3-controlling-"
1189+
"transactions>` が実行されます。"
11801190

11811191
#:../../library/sqlite3.rst:945
11821192
msgid""
11831193
"If not overridden by the *isolation_level* parameter of :func:`connect`, the "
11841194
"default is ``\"\"``, which is an alias for ``\"DEFERRED\"``."
11851195
msgstr""
1196+
":func:`connect` の *isolation_level* パラメーターでオーバーライドされない場"
1197+
"合、 デフォルトは ``\"\"`` で、 これは ``\"DEFERRED\"`` の別名です。"
11861198

11871199
#:../../library/sqlite3.rst:950
11881200
msgid""
@@ -1192,11 +1204,16 @@ msgid ""
11921204
"ones. Is ``None`` by default, meaning each row is returned as a :class:"
11931205
"`tuple`."
11941206
msgstr""
1207+
"この接続から作成された :class:`Cursor` オブジェクトの初期 :attr:`~Cursor."
1208+
"row_factory` 。この属性に割り当てを行っても、 この接続に属する、すでに存在す"
1209+
"るカーソルの :attr:`!row_factory` には影響せず、 この属性に割り当てを行った後"
1210+
"に作成する新しいカーソルのみに影響します。 デフォルトでは ``None`` です。つま"
1211+
"り、各行は :class:`タプル <tuple>` として返されます。"
11951212

11961213
#:../../library/sqlite3.rst:957../../library/sqlite3.rst:1217
11971214
#:../../library/sqlite3.rst:1240
11981215
msgid"See :ref:`sqlite3-howto-row-factory` for more details."
1199-
msgstr""
1216+
msgstr"詳細は :ref:`sqlite3-howto-row-factory` をご覧下さい。"
12001217

12011218
#:../../library/sqlite3.rst:961
12021219
msgid""
@@ -1205,12 +1222,19 @@ msgid ""
12051222
"``TEXT`` data type. By default, this attribute is set to :class:`str`. If "
12061223
"you want to return ``bytes`` instead, set *text_factory* to ``bytes``."
12071224
msgstr""
1225+
":class:`bytes` のパラメータを受け取り、そのテキスト表現を返す呼び出し可能オブ"
1226+
"ジェクトです。呼び出し可能オブジェクトは ``TEXT`` データ型である SQLite 値に"
1227+
"対して呼び出されます。 デフォルトでは、 この属性は :class:`str` に設定されて"
1228+
"います。代わりに ``bytes`` を返したい場合は、 *text_factory* を ``bytes`` に"
1229+
"設定してください。"
12081230

12091231
#:../../library/sqlite3.rst:1001
12101232
msgid""
12111233
"Return the total number of database rows that have been modified, inserted, "
12121234
"or deleted since the database connection was opened."
12131235
msgstr""
1236+
"データベース接続が開かれてから、変更または挿入または削除されたデータベース行"
1237+
"の総数を返します。"
12141238

12151239
#:../../library/sqlite3.rst:1007
12161240
msgid"Cursor objects"
@@ -1451,7 +1475,7 @@ msgstr "例外"
14511475

14521476
#:../../library/sqlite3.rst:1267
14531477
msgid"The exception hierarchy is defined by the DB-API 2.0 (:pep:`249`)."
1454-
msgstr""
1478+
msgstr"例外の階層は DB-API 2.0 (:pep:`249`) で定義されています。"
14551479

14561480
#:../../library/sqlite3.rst:1271
14571481
msgid""

‎library/sys.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ msgid ""
109109
"Exceptions derived from :class:`Exception` but not :class:`RuntimeError` are "
110110
"no longer suppressed."
111111
msgstr""
112-
":class:`RuntimeError` ではない class:`Exception` は抑制されなくなりました。"
112+
":class:`RuntimeError` ではない:class:`Exception` は抑制されなくなりました。"
113113

114114
#:../../library/sys.rst:68
115115
msgid""

‎library/unittest.mock.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ msgid ""
380380
"`AttributeError`)."
381381
msgstr""
382382
"*wraps*: このモックオブジェクトがラップするものです。 *wraps* が ``None`` で"
383-
"なければ、このモックの呼び出すと、その呼び出しがラップされたオブジェクトに渡"
383+
"なければ、このモックを呼び出すと、その呼び出しがラップされたオブジェクトに渡"
384384
"され (て実際の結果を返し) ます。モックの属性アクセスは、ラップされたオブジェ"
385385
"クトの対応する属性をラップする Mock オブジェクトを返します (なので、存在しな"
386386
"い属性にアクセスしようとすると :exc:`AttributeError` を送出します)。"

‎library/warnings.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ msgid ""
6464
msgstr""
6565
"警告メッセージは通常 :data:`sys.stderr` に出力されますが、すべての警告を無視"
6666
"したり、警告を例外にしたりと、その処理を柔軟に変更することができます。 警告の"
67-
"処理は :ref:`warning category` 、警告メッセージのテキスト、警告が発行された"
68-
"ソースの位置に基づいて変化します。 同じソースの位置で特定の警告が繰り返された"
69-
"場合、通常は抑制されます。"
67+
"処理は :ref:`warning category <warning-categories>` 、警告メッセージのテキス"
68+
"ト、警告が発行されたソースの位置に基づいて変化します。 同じソースの位置で特定"
69+
"の警告が繰り返された場合、通常は抑制されます。"
7070

7171
#:../../library/warnings.rst:29
7272
msgid""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp