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