Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 16de4df

Browse files
[po] auto sync
1 parent 748a643 commit 16de4df

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "92.32%", "updated_at": "2023-11-17T04:55:41Z"}
1+
{"translation": "92.33%", "updated_at": "2023-11-17T05:55:47Z"}

library/typing.po

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3085,7 +3085,7 @@ msgstr "示例:"
30853085
msgid ""
30863086
"Get type arguments with all substitutions performed: for a typing object of "
30873087
"the form ``X[Y, Z, ...]`` return ``(Y, Z, ...)``."
3088-
msgstr ""
3088+
msgstr "获取已执行所有下标的类型参数:对于 ``X[Y, Z, ...]`` 形式的类型对象将返回 ``(Y, Z, ...)``。"
30893089

30903090
#: ../../library/typing.rst:3014
30913091
msgid ""
@@ -3094,6 +3094,8 @@ msgid ""
30943094
" arguments ``[Y, Z, ...]`` due to type caching. Return ``()`` for "
30953095
"unsupported objects."
30963096
msgstr ""
3097+
"如果 ``X`` 是一个并集或是包含在另一个泛型类型中的 :class:`Literal`,则 ``(Y, Z, ...)`` "
3098+
"的顺序可能因类型缓存而与原始参数 ``[Y, Z, ...]`` 存在差异。 对于不受支持的对象将返回 ``()``。"
30973099

30983100
#: ../../library/typing.rst:3031
30993101
msgid "Check if a type is a :class:`TypedDict`."
@@ -3102,14 +3104,16 @@ msgstr "检查一个类型是否为 :class:`TypedDict`。"
31023104
#: ../../library/typing.rst:3052
31033105
msgid ""
31043106
"Class used for internal typing representation of string forward references."
3105-
msgstr ""
3107+
msgstr "用于字符串前向引用的内部类型表示的类。"
31063108

31073109
#: ../../library/typing.rst:3054
31083110
msgid ""
31093111
"For example, ``List[\"SomeClass\"]`` is implicitly transformed into "
31103112
"``List[ForwardRef(\"SomeClass\")]``. ``ForwardRef`` should not be "
31113113
"instantiated by a user, but may be used by introspection tools."
31123114
msgstr ""
3115+
"例如,``List[\"SomeClass\"]`` 会被隐式转换为 ``List[ForwardRef(\"SomeClass\")]``。 "
3116+
"``ForwardRef`` 不应由用户来实例化,但可以由内省工具使用。"
31133117

31143118
#: ../../library/typing.rst:3059
31153119
msgid ""
@@ -3128,7 +3132,7 @@ msgstr "常量"
31283132
msgid ""
31293133
"A special constant that is assumed to be ``True`` by 3rd party static type "
31303134
"checkers. It is ``False`` at runtime."
3131-
msgstr ""
3135+
msgstr "会被第 3 方静态类型检查器假定为 ``True`` 的特殊常量。 在运行时将为 ``False``。"
31323136

31333137
#: ../../library/typing.rst:3081
31343138
msgid ""

0 commit comments

Comments
 (0)