Skip to content

Commit e951b7f

Browse files
author
github-actions
committed
Merge 3.11 into 3.10
1 parent ef2cdae commit e951b7f

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

faq/programming.po

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1240,19 +1240,21 @@ msgstr ""
12401240

12411241
#: ../../faq/programming.rst:848
12421242
msgid "How do I get int literal attribute instead of SyntaxError?"
1243-
msgstr ""
1243+
msgstr "どうすれば SyntaxError を起こさずに整数リテラルの属性を得られますか?"
12441244

12451245
#: ../../faq/programming.rst:850
12461246
msgid ""
12471247
"Trying to lookup an ``int`` literal attribute in the normal manner gives a :"
12481248
"exc:`SyntaxError` because the period is seen as a decimal point::"
12491249
msgstr ""
1250+
"ふつうの方法で ``int`` リテラルの属性を探そうとすると、ピリオドが小数点とみな"
1251+
"され、:exc:`SyntaxError` となります::"
12501252

12511253
#: ../../faq/programming.rst:859
12521254
msgid ""
12531255
"The solution is to separate the literal from the period with either a space "
12541256
"or parentheses."
1255-
msgstr ""
1257+
msgstr "解決策は、リテラルとピリオドを スペースや括弧で分けることです。"
12561258

12571259
#: ../../faq/programming.rst:869
12581260
msgid "How do I convert a string to a number?"
@@ -1455,31 +1457,39 @@ msgstr ":ref:`unicode-howto` を参照して下さい。"
14551457

14561458
#: ../../faq/programming.rst:1032
14571459
msgid "Can I end a raw string with an odd number of backslashes?"
1458-
msgstr ""
1460+
msgstr "raw string を奇数個のバックスラッシュで終えることはできますか?"
14591461

14601462
#: ../../faq/programming.rst:1034
14611463
msgid ""
14621464
"A raw string ending with an odd number of backslashes will escape the "
14631465
"string's quote::"
14641466
msgstr ""
1467+
"奇数個のバックスラッシュで終わる raw string は文字列のクォートをエスケープし"
1468+
"ます::"
14651469

14661470
#: ../../faq/programming.rst:1042
14671471
msgid ""
14681472
"There are several workarounds for this. One is to use regular strings and "
14691473
"double the backslashes::"
14701474
msgstr ""
1475+
"これにはいくつかの回避策があります。ひとつは通常文字列と二重バックスラッシュ"
1476+
"を使うことです::"
14711477

14721478
#: ../../faq/programming.rst:1048
14731479
msgid ""
14741480
"Another is to concatenate a regular string containing an escaped backslash "
14751481
"to the raw string::"
14761482
msgstr ""
1483+
"もうひとつは、エスケープされたバックスラッシュを含む通常の文字列を、 raw "
1484+
"string に連結します::"
14771485

14781486
#: ../../faq/programming.rst:1054
14791487
msgid ""
14801488
"It is also possible to use :func:`os.path.join` to append a backslash on "
14811489
"Windows::"
14821490
msgstr ""
1491+
"Windowsでは、 :func:`os.path.join` を使ってバックスラッシュを追加することもで"
1492+
"きます::"
14831493

14841494
#: ../../faq/programming.rst:1059
14851495
msgid ""
@@ -1488,10 +1498,13 @@ msgid ""
14881498
"the value of the raw string. That is, the backslash remains present in the "
14891499
"value of the raw string::"
14901500
msgstr ""
1501+
"注意点として、バックスラッシュは raw string 終端のクォートを「エスケープ」し"
1502+
"ますが、 raw string の値を解釈する際にはエスケープが生じません。つまり、バッ"
1503+
"クスラッシュは raw string 値の中に残ったままになります::"
14911504

14921505
#: ../../faq/programming.rst:1067
14931506
msgid "Also see the specification in the :ref:`language reference <strings>`."
1494-
msgstr ""
1507+
msgstr ":ref:`言語リファレンス <strings>` の仕様も参照してください。"
14951508

14961509
#: ../../faq/programming.rst:1070
14971510
msgid "Performance"

0 commit comments

Comments
 (0)