8000 [po] auto sync · python/python-docs-zh-cn@9a876de · GitHub
[go: up one dir, main page]

Skip to content

Commit 9a876de

Browse files
[po] auto sync
1 parent 0a7b5b8 commit 9a876de

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "90.46%", "updated_at": "2024-02-10T07:08:54Z"}
1+
{"translation": "90.47%", "updated_at": "2024-02-10T08:09:19Z"}

whatsnew/3.6.po

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2506,6 +2506,9 @@ msgid ""
25062506
"Ivan Levkivskyi in `Github #280 "
25072507
"<https://github.com/python/typing/pull/280>`_.)"
25082508
msgstr ""
2509+
"增加 :const:`typing.ClassVar` 类型结构体用来标记类变量。 变量标注在 :pep:`526` 中被引入,包装在 ClassVar"
2510+
" 中的变量标注表示给定的属性将被用作类变量而不应在该类的实例上设置。 (由 Ivan Levkivskyi 在 `Github #280 中贡献 "
2511+
"<https://github.com/python/typing/pull/280>`_。)"
25092512

25102513
#: ../../whatsnew/3.6.rst:1625
25112514
msgid ""
@@ -2514,19 +2517,24 @@ msgid ""
25142517
"Guido van Rossum in `Github #230 "
25152518
"<https://github.com/python/typing/issues/230>`_.)"
25162519
msgstr ""
2520+
"新增 :const:`~typing.TYPE_CHECKING` 常量将被静态类型检查器视为 ``True``,但在运行时将为 ``False``。 "
2521+
"(由 Guido van Rossum 在 `Github #230 中贡献 "
2522+
"<https://github.com/python/typing/issues/230>`_。)"
25172523

25182524
#: ../../whatsnew/3.6.rst:1630
25192525
msgid ""
25202526
"A new :func:`~typing.NewType` helper function has been added to create "
25212527
"lightweight distinct types for annotations::"
2522-
msgstr ""
2528+
msgstr "新增 :func:`~typing.NewType` 辅助函数用来创建针对标注的轻量级单独类型::"
25232529

25242530
#: ../../whatsnew/3.6.rst:1638
25252531
msgid ""
25262532
"The static type checker will treat the new type as if it were a subclass of "
25272533
"the original type. (Contributed by Ivan Levkivskyi in `Github #189 "
25282534
"<https://github.com/python/typing/issues/189>`_.)"
25292535
msgstr ""
2536+
"静态类型检查器将把新类型当作原始类型的子类来处理。 (由 Ivan Levkivskyi 在 `Github #189 中贡献 "
2537+
"<https://github.com/python/typing/issues/189>`_。)"
25302538

25312539
#: ../../whatsnew/3.6.rst:1644
25322540
msgid "unicodedata"

0 commit comments

Comments
 (0)
0