@@ -1240,19 +1240,21 @@ msgstr ""
1240
1240
1241
1241
#: ../../faq/programming.rst:848
1242
1242
msgid "How do I get int literal attribute instead of SyntaxError?"
1243
- msgstr ""
1243
+ msgstr "どうすれば SyntaxError を起こさずに整数リテラルの属性を得られますか? "
1244
1244
1245
1245
#: ../../faq/programming.rst:850
1246
1246
msgid ""
1247
1247
"Trying to lookup an ``int`` literal attribute in the normal manner gives a :"
1248
1248
"exc:`SyntaxError` because the period is seen as a decimal point::"
1249
1249
msgstr ""
1250
+ "ふつうの方法で ``int`` リテラルの属性を探そうとすると、ピリオドが小数点とみな"
1251
+ "され、:exc:`SyntaxError` となります::"
1250
1252
1251
1253
#: ../../faq/programming.rst:859
1252
1254
msgid ""
1253
1255
"The solution is to separate the literal from the period with either a space "
1254
1256
"or parentheses."
1255
- msgstr ""
1257
+ msgstr "解決策は、リテラルとピリオドを スペースや括弧で分けることです。 "
1256
1258
1257
1259
#: ../../faq/programming.rst:869
1258
1260
msgid "How do I convert a string to a number?"
@@ -1455,31 +1457,39 @@ msgstr ":ref:`unicode-howto` を参照して下さい。"
1455
1457
1456
1458
#: ../../faq/programming.rst:1032
1457
1459
msgid "Can I end a raw string with an odd number of backslashes?"
1458
- msgstr ""
1460
+ msgstr "raw string を奇数個のバックスラッシュで終えることはできますか? "
1459
1461
1460
1462
#: ../../faq/programming.rst:1034
1461
1463
msgid ""
1462
1464
"A raw string ending with an odd number of backslashes will escape the "
1463
1465
"string's quote::"
1464
1466
msgstr ""
1467
+ "奇数個のバックスラッシュで終わる raw string は文字列のクォートをエスケープし"
1468
+ "ます::"
1465
1469
1466
1470
#: ../../faq/programming.rst:1042
1467
1471
msgid ""
1468
1472
"There are several workarounds for this. One is to use regular strings and "
1469
1473
"double the backslashes::"
1470
1474
msgstr ""
1475
+ "これにはいくつかの回避策があります。ひとつは通常文字列と二重バックスラッシュ"
1476
+ "を使うことです::"
1471
1477
1472
1478
#: ../../faq/programming.rst:1048
1473
1479
msgid ""
1474
1480
"Another is to concatenate a regular string containing an escaped backslash "
1475
1481
"to the raw string::"
1476
1482
msgstr ""
1483
+ "もうひとつは、エスケープされたバックスラッシュを含む通常の文字列を、 raw "
1484
+ "string に連結します::"
1477
1485
1478
1486
#: ../../faq/programming.rst:1054
1479
1487
msgid ""
1480
1488
"It is also possible to use :func:`os.path.join` to append a backslash on "
1481
1489
"Windows::"
1482
1490
msgstr ""
1491
+ "Windowsでは、 :func:`os.path.join` を使ってバックスラッシュを追加することもで"
1492
+ "きます::"
1483
1493
1484
1494
#: ../../faq/programming.rst:1059
1485
1495
msgid ""
@@ -1488,10 +1498,13 @@ msgid ""
1488
1498
"the value of the raw string. That is, the backslash remains present in the "
1489
1499
"value of the raw string::"
1490
1500
msgstr ""
1501
+ "注意点として、バックスラッシュは raw string 終端のクォートを「エスケープ」し"
1502
+ "ますが、 raw string の値を解釈する際にはエスケープが生じません。つまり、バッ"
1503
+ "クスラッシュは raw string 値の中に残ったままになります::"
1491
1504
1492
1505
#: ../../faq/programming.rst:1067
1493
1506
msgid "Also see the specification in the :ref:`language reference <strings>`."
1494
- msgstr ""
1507
+ msgstr ":ref:`言語リファレンス <strings>` の仕様も参照してください。 "
1495
1508
1496
1509
#: ../../faq/programming.rst:1070
1497
1510
msgid "Performance"
0 commit comments