File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -247,6 +247,10 @@ msgid ""
247
247
" (since short strings are interned by the interpreter) and make startup time"
248
248
" faster."
249
249
msgstr ""
250
+ "これらのissueはアノテーションの評価を遅らせることで解決できます。"
251
+ "定義時間(順)ごとにアノテーションを実行するコードをコンパイルする代わりに、コンパイラは問題となっている表現のAST(抽象構文木)に相当する文字列型のアノテーションを保持します。"
252
+ "必要であれば、アノテーションは :func:`typing.get_type_hints` を使うことで分解できます。"
253
+ "上記の必要のない一般的なケースでは、アノテーションは低コストで保持され(短い文字列はインタプリタに格納されるため)、スタートアップ時間は早くなります。"
250
254
251
255
#: ../../whatsnew/3.7.rst:155
252
256
msgid ""
@@ -259,6 +263,7 @@ msgid ""
259
263
"Since this change breaks compatibility, the new behavior needs to be enabled"
260
264
" on a per-module basis in Python 3.7 using a :mod:`__future__` import::"
261
265
msgstr ""
266
+ "この変更は(旧バージョンと)互換性をなくしてしまうため、本機能は :mod:`__future__` import:: を使用したPython 3.7の旧モジュールベースで実行される必要があります。"
262
267
263
268
#: ../../whatsnew/3.7.rst:174
264
269
msgid "It will become the default in Python 4.0."
You can’t perform that action at this time.
0 commit comments