8000 add Japanese translation about python-3.7's behavior · python/python-docs-ja@06c4ecb · GitHub
[go: up one dir, main page]

Skip to content

Commit 06c4ecb

Browse files
committed
add Japanese translation about python-3.7's behavior
1 parent c3c83da commit 06c4ecb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

whatsnew/3.7.po

Lines changed: 5 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 ""
@@ -259,6 +263,7 @@ msgid ""
259263
"Since this change breaks compatibility, the new behavior needs to be enabled"
260264
" on a per-module basis in Python 3.7 using a :mod:`__future__` import::"
261265
msgstr ""
266+
"この変更は(旧バージョンと)互換性をなくしてしまうため、本機能は :mod:`__future__` import:: を使用したPython 3.7の旧モジュールベースで実行される必要があります。"
262267

263268
#: ../../whatsnew/3.7.rst:174
264269
msgid "It will become the default in Python 4.0."

0 commit comments

Comments
 (0)
0