Skip to content

Commit bb595b2

Browse files
authored
Merge pull request #11 from koh7/3.7
add Japansese Translation in What's New In Python 3.7
2 parents 04e71d2 + ea4dbf0 commit bb595b2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

whatsnew/3.7.po

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,10 @@ msgid ""
247247
" (since short strings are interned by the interpreter) and make startup time"
248248
" faster."
249249
msgstr ""
250+
"これらのissueはアノテーションの評価を遅らせることで解決できます。"
251+
"定義時間(順)ごとにアノテーションを実行するコードをコンパイルする代わりに、コンパイラは問題となっている表現のAST(抽象構文木)に相当する文字列型のアノテーションを保持します。"
252+
"必要であれば、アノテーションは :func:`typing.get_type_hints` を使うことで分解できます。"
253+
"上記の必要のない一般的なケースでは、アノテーションは低コストで保持され(短い文字列はインタプリタに格納されるため)、スタートアップ時間は早くなります。"
250254

251255
#: ../../whatsnew/3.7.rst:155
252256
msgid ""

0 commit comments

Comments
 (0)