@@ -1245,19 +1245,21 @@ msgstr ""
12451245
12461246#: ../../faq/programming.rst:848
12471247msgid "How do I get int literal attribute instead of SyntaxError?"
1248- msgstr ""
1248+ msgstr "どうすれば SyntaxError を起こさずに整数リテラルの属性を得られますか? "
12491249
12501250#: ../../faq/programming.rst:850
12511251msgid ""
12521252"Trying to lookup an ``int`` literal attribute in the normal manner gives a :"
12531253"exc:`SyntaxError` because the period is seen as a decimal point::"
12541254msgstr ""
1255+ "ふつうの方法で ``int`` リテラルの属性を探そうとすると、ピリオドが小数点とみな"
1256+ "され、:exc:`SyntaxError` となります::"
12551257
12561258#: ../../faq/programming.rst:859
12571259msgid ""
12581260"The solution is to separate the literal from the period with either a space "
12591261"or parentheses."
1260- msgstr ""
1262+ msgstr "解決策は、リテラルとピリオドを スペースや括弧で分けることです。 "
12611263
12621264#: ../../faq/programming.rst:869
12631265msgid "How do I convert a string to a number?"
@@ -1460,31 +1462,39 @@ msgstr ":ref:`unicode-howto` を参照して下さい。"
14601462
14611463#: ../../faq/programming.rst:1032
14621464msgid "Can I end a raw string with an odd number of backslashes?"
1463- msgstr ""
1465+ msgstr "raw string を奇数個のバックスラッシュで終えることはできますか? "
14641466
14651467#: ../../faq/programming.rst:1034
14661468msgid ""
14671469"A raw string ending with an odd number of backslashes will escape the "
14681470"string's quote::"
14691471msgstr ""
1472+ "奇数個のバックスラッシュで終わる raw string は文字列のクォートをエスケープし"
1473+ "ます::"
14701474
14711475#: ../../faq/programming.rst:1042
14721476msgid ""
14731477"There are several workarounds for this. One is to use regular strings and "
14741478"double the backslashes::"
14751479msgstr ""
1480+ "これにはいくつかの回避策があります。ひとつは通常文字列と二重バックスラッシュ"
1481+ "を使うことです::"
14761482
14771483#: ../../faq/programming.rst:1048
14781484msgid ""
14791485"Another is to concatenate a regular string containing an escaped backslash "
14801486"to the raw string::"
14811487msgstr ""
1488+ "もうひとつは、エスケープされたバックスラッシュを含む通常の文字列を、 raw "
1489+ "string に連結します::"
14821490
14831491#: ../../faq/programming.rst:1054
14841492msgid ""
14851493"It is also possible to use :func:`os.path.join` to append a backslash on "
14861494"Windows::"
14871495msgstr ""
1496+ "Windowsでは、 :func:`os.path.join` を使ってバックスラッシュを追加することもで"
1497+ "きます::"
14881498
14891499#: ../../faq/programming.rst:1059
14901500msgid ""
@@ -1493,10 +1503,13 @@ msgid ""
14931503"the value of the raw string. That is, the backslash remains present in the "
14941504"value of the raw string::"
14951505msgstr ""
1506+ "注意点として、バックスラッシュは raw string 終端のクォートを「エスケープ」し"
1507+ "ますが、 raw string の値を解釈する際にはエスケープが生じません。つまり、バッ"
1508+ "クスラッシュは raw string 値の中に残ったままになります::"
14961509
14971510#: ../../faq/programming.rst:1067
14981511msgid "Also see the specification in the :ref:`language reference <strings>`."
1499- msgstr ""
1512+ msgstr ":ref:`言語リファレンス <strings>` の仕様も参照してください。 "
15001513
15011514#: ../../faq/programming.rst:1070
15021515msgid "Performance"
0 commit comments