File tree Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -1518,12 +1518,16 @@ msgid ""
1518
1518
"object, it has to define an :meth:`__index__` method that returns an "
1519
1519
"integer. For example:"
1520
1520
msgstr ""
1521
+ "整数を先頭に \" 0o\" が付いた 8 進文字列に変換します。\n"
1522
+ "結果は Python の式としても使える形式になります。\n"
1523
+ " *x* が Python の :class:`int` オブジェクトでない場合、整数を返す :meth:`__index__` メソッドが定義されていなければなりません。\n"
1524
+ "例えば、次のようになります:"
1521
1525
1522
1526
#: ../../library/functions.rst:925
1523
1527
msgid ""
1524
1528
"If you want to convert an integer number to octal string either with prefix "
1525
1529
"\" 0o\" or not, you can use either of the following ways."
1526
- msgstr ""
1530
+ msgstr "整数を接頭辞の \" 0o \" 付きや \" 0o \" 無しの 8 進文字列に変換したい場合は、次に挙げる方法が使えます。 "
1527
1531
1528
1532
#: ../../library/functions.rst:942
1529
1533
msgid ""
Original file line number Diff line number Diff line change 4
4
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
5
#
6
6
# Translators:
7
- # tomo, 2018
7
+ # tomo, 2019
8
8
#
9
9
#, fuzzy
10
10
msgid ""
@@ -13,7 +13,7 @@ msgstr ""
13
13
"Report-Msgid-Bugs-To : \n "
14
14
"POT-Creation-Date : 2019-01-01 15:22+0900\n "
15
15
"PO-Revision-Date : 2018-06-29 17:51+0000\n "
16
- "Last-Translator : tomo, 2018 \n "
16
+ "Last-Translator : tomo, 2019 \n "
17
17
"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
18
18
"MIME-Version : 1.0\n "
19
19
"Content-Type : text/plain; charset=UTF-8\n "
@@ -229,6 +229,14 @@ msgid ""
229
229
" This can lead to nasty bugs that can be avoided by making a temporary copy "
230
230
"using a slice of the whole sequence, e.g., ::"
231
231
msgstr ""
232
+ "ループ中でのシーケンスの変更には微妙な問題があります (これはミュータブルなシーケンスのみ、例えばリストで起こり得ます)。\n"
233
+ "どの要素が次に使われるかを追跡するために、内部的なカウンタが使われており、このカウンタは反復のたびに加算されます。\n"
234
+ "このカウンタがシーケンスの長さに達すると、ループは終了します。\n"
235
+ "このことから、 suite の中でシーケンスから現在の (または以前の) 要素を除去すると、(次の要素の位置が、既に処理済みの現在の要素のインデックスになるために) 次の要素が飛ばされることになります。\n"
236
+ "同様に、 suite の中でシーケンス中の現在の要素以前に要素を挿入すると、現在の要素がループの次の週で再度扱われることになります。\n"
237
+ "こうした仕様は、厄介なバグにつながります。\n"
238
+ "これは、シーケンス全体のスライスを使って一時的なコピーを作ることで避けられます。\n"
239
+ "例えば次のようにします::"
232
240
233
241
#: ../../reference/compound_stmts.rst:228
234
242
msgid "The :keyword:`try` statement"
You can’t perform that action at this time.
0 commit comments